File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 3838 - name : Run export script
3939 run : |
4040 cd /app
41- /app/.circleci/export-config.sh
41+ /app/.circleci/export-config.sh
42+ - name : Get the release branch
43+ run : |
44+ CURRENT_GIT_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
45+ echo RELEASE_GIT_BRANCH="${CURRENT_GIT_BRANCH//automation/release}" >> $GITHUB_ENV
46+ - name : Manually run build workflow
47+ uses : benc-uk/workflow-dispatch@v1
48+ with :
49+ workflow : build
50+ repo : ${{ github.repository }}
51+ ref : ${{ env.RELEASE_GIT_BRANCH }}
Original file line number Diff line number Diff line change 3636 - name : Set commit status in the GitHub API
3737 run : |
3838 curl -X POST \
39- -H "Authorization: token ${{ secrets.SDPDEPLOY_PAT }}" \
39+ -vvv \
40+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
4041 -H "Accept: application/vnd.github.v3+json" \
4142 https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
4243 -d "{
You can’t perform that action at this time.
0 commit comments