File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1010 name : Update website
1111 runs-on : ubuntu-latest
1212 env :
13- GH_TOKEN : ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
13+ GITHUB_TOKEN : ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
1414 steps :
1515 - name : Checkout repo
1616 uses : actions/checkout@v4
2020 - name : Checkout website repo
2121 uses : actions/checkout@v4
2222 with :
23- repository : kripken /emscripten-site
23+ repository : emscripten-bot /emscripten-site
2424 ref : gh-pages
2525 path : site/emscripten-site
2626 - name : pip install
3030 python3 -m pip install -r requirements-dev.txt
3131 - name : Update docs
3232 run : |
33- git config user.name emscripten-bot
34- git config user.email [email protected] 35- ./bootstrap
33+ set -o errexit
34+ set -o xtrace
35+ git config --global user.name emscripten-bot
36+ git config --global user.email [email protected] 3637 if ./tools/maint/update_docs.py; then
3738 echo "rebaseline_tests returned zero, expectations up-to-date"
3839 # Exit early and don't create a PR
4647 fi
4748 # Create a PR against the emscripten-site repo
4849 cd site/emscripten-site
50+ git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
4951 git push origin update
50- gh pr create --fill --base gh-pages --reviewer sbc100,kripken
52+ gh pr create --fill --head update --base gh-pages
5153 gh pr merge --squash --auto
You can’t perform that action at this time.
0 commit comments