File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 5555 id : set-deployment-name
5656 run : echo "DEPLOYMENT_NAME=${GITHUB_HEAD_REF##*/}" >> $GITHUB_ENV
5757
58+ - name : Start dev server deployment
59+ uses : bobheadxi/deployments@v1
60+ id : deployment
61+ with :
62+ step : start
63+ token : ${{secrets.GITHUB_TOKEN}}
64+ env : " branch-${{env.DEPLOYMENT_NAME}}"
65+ ref : ${{github.head_ref}}
66+
5867 - run : cmake .
5968 id : cmake
6069 - run : make pull-modules
7887 retry_wait_seconds : 15
7988 max_attempts : 3
8089
90+ - name : update deployment status
91+ id : finalize-deployment
92+ uses : bobheadxi/deployments@v1
93+ with :
94+ step : finish
95+ token : ${{secrets.GITHUB_TOKEN}}
96+ env : " branch-${{env.DEPLOYMENT_NAME}}"
97+ status : ${{job.status}}
98+ deployment_id : ${{steps.deployment.outputs.deployment_id}}
99+ env_url : ${{secrets.TARANTOOL_HOST}}/doc/${{env.DEPLOYMENT_NAME}}/
100+
81101 - name : Send VK Teams message on failures
82102 # bot token won't be accessible in the forks
83103 if : ${{ failure() && env.VKTEAMS_BOT_TOKEN != '' }}
You can’t perform that action at this time.
0 commit comments