Skip to content

Commit d9ba4fe

Browse files
committed
Add a link to test deployment in PR
Resolves #22
1 parent cb3ea74 commit d9ba4fe

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/deploy-branch.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Deploy branch
2+
23
on:
34
pull_request:
45
jobs:
@@ -18,5 +19,23 @@ jobs:
1819
steps:
1920
- uses: actions/checkout@v2
2021

22+
- name: Start dev server deployment
23+
uses: bobheadxi/[email protected]
24+
id: deployment
25+
with:
26+
step: start
27+
token: ${{secrets.GITHUB_TOKEN}}
28+
env: ${{env.BRANCH_NAME}}
29+
ref: ${{github.head_ref}}
30+
2131
- run: sphinx-build -b json source -d build/.doctrees build/json
2232
- run: bash upload_output.sh
33+
34+
- name: update deployment status
35+
uses: bobheadxi/[email protected]
36+
with:
37+
step: finish
38+
token: ${{secrets.GITHUB_TOKEN}}
39+
status: ${{job.status}}
40+
deployment_id: ${{steps.deployment.outputs.deployment_id}}
41+
env_url: https://docs.d.tarantool.io/en/dev/core/

0 commit comments

Comments
 (0)