File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
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
@@ -20,19 +20,21 @@ jobs:
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
26+ token : ${{ secrets.EMSCRIPTEN_BOT_TOKEN }}
2627 - name : pip install
2728 run : |
2829 which python3
2930 python3 --version
3031 python3 -m pip install -r requirements-dev.txt
3132 - name : Update docs
3233 run : |
33- git config user.name emscripten-bot
34- git config user.email [email protected] 35- ./bootstrap
34+ set -o errexit
35+ set -o xtrace
36+ git config --global user.name emscripten-bot
37+ git config --global user.email [email protected] 3638 if ./tools/maint/update_docs.py; then
3739 echo "rebaseline_tests returned zero, expectations up-to-date"
3840 # Exit early and don't create a PR
4648 fi
4749 # Create a PR against the emscripten-site repo
4850 cd site/emscripten-site
51+ gh auth status
4952 git push origin update
50- gh pr create --fill --base gh-pages --reviewer sbc100,kripken
51- gh pr merge --squash --auto
53+ gh pr create --fill --head update --base gh-pages
54+ # gh pr merge --squash --auto
You can’t perform that action at this time.
0 commit comments