File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3131 - name : Build pages
3232 env :
3333 MKDOCS_GIT_COMMITTERS_BRANCH : ${{ github.ref_name }}
34- MKDOCS_GIT_COMMITTERS_APIKEY : ${{ secrets.GITHUB_TOKEN }}
35- MKDOCS_ENABLE_GIT_REVISION_DATE : ${{ secrets.GITHUB_TOKEN && 'True' || 'False' }}
36- MKDOCS_ENABLE_GIT_COMMITTERS : ${{ secrets.GITHUB_TOKEN && 'True' || 'False' }}
34+ MKDOCS_GIT_COMMITTERS_APIKEY : ${{ github.token }}
35+ MKDOCS_ENABLE_GIT_REVISION_DATE : ${{ github.token && 'True' || 'False' }}
36+ MKDOCS_ENABLE_GIT_COMMITTERS : ${{ github.token && 'True' || 'False' }}
3737 run : |
3838 mkdocs build --strict
3939 - name : Upload build pages as artifact
Original file line number Diff line number Diff line change 1515 uses : actions/download-artifact@v4
1616 with :
1717 run-id : ${{ github.event.workflow_run.id }}
18+ github-token : ${{ github.token }}
1819 name : page-build
1920 path : public
2021
3637 - uses : FirebaseExtended/action-hosting-deploy@v0
3738 id : firebase-deploy
3839 with :
39- repoToken : ${{ secrets.GITHUB_TOKEN }}
40+ repoToken : ${{ github.token }}
4041 firebaseServiceAccount : ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
4142 projectId : cp-algorithms
4243 channelId : live
5253 uses : actions/download-artifact@v4
5354 with :
5455 run-id : ${{ github.event.workflow_run.id }}
56+ github-token : ${{ github.token }}
5557 name : page-build
5658 path : public
5759
6365 - name : Deploy to gh-pages
6466 uses : peaceiris/actions-gh-pages@v3
6567 with :
66- github_token : ${{ secrets.GITHUB_TOKEN }}
68+ github_token : ${{ github.token }}
6769 publish_dir : ./public
6870 publish_branch : gh-pages
6971 destination_dir : ${{ github.event.pull_request.number || 'main' }}/
You can’t perform that action at this time.
0 commit comments