File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 build-and-deploy :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
1113
1214 steps :
1315 - name : Checkout repository
2628
2729 - name : Deploy with gh-pages (to /beta folder)
2830 run : |
29- git remote set-url origin https://git :${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
31+ git remote set-url origin https://x-access-token :${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
3032 npm run deploy -- --dest beta -u "github-actions-bot <support+actions@github.com>"
3133 env :
32- GITHUB_TOKEN : ${{ secrets.ACTIONS_DEPLOY_KEY }}
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 88jobs :
99 build-and-deploy :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
1113
1214 steps :
1315 - name : Checkout repository
2628
2729 - name : Deploy with gh-pages
2830 run : |
29- git remote set-url origin https://git :${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
31+ git remote set-url origin https://x-access-token :${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
3032 npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
3133 env :
32- GITHUB_TOKEN : ${{ secrets.ACTIONS_DEPLOY_KEY }}
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments