File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1111
1212permissions :
1313 contents : write
14+ actions : write
1415
1516jobs :
1617 analyze :
3233
3334 - name : Deploy to central site
3435 env :
35- # BOT_TOKEN (PAT with repo+workflow scopes) is required so the push
36- # triggers build-index.yml. GITHUB_TOKEN pushes are ignored by GitHub Actions.
37- GH_TOKEN : ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }}
36+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3837 REPO : ${{ inputs.repo }}
3938 run : |
4039 git config --global user.name "supermodel-bot"
5049 git diff --staged --quiet && echo "No changes to commit" && exit 0
5150 git commit -m "Deploy arch-docs for ${REPO}"
5251 git push
52+
53+ - name : Trigger Cloudflare Pages redeploy
54+ env :
55+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56+ run : |
57+ gh workflow run build-index.yml \
58+ --repo GraphTechnologyDevelopers/graphtechnologydevelopers.github.io \
59+ --ref main
You can’t perform that action at this time.
0 commit comments