File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3636 steps :
3737 - uses : actions/checkout@v3
3838 with :
39- token : ${{ secrets.GH_TOKEN }}
39+ token : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
4040
4141 - name : Use Node.js 16
4242 uses : actions/setup-node@v3
4949 git config --global user.email "noreply@apify.com"
5050
5151 echo "access=public" > .npmrc
52- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
52+ echo "//registry.npmjs.org/:_authToken=${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}" >> .npmrc
5353
5454 - name : Bump the theme version
5555 run : |
6161 cd $GITHUB_WORKSPACE/apify-docs-theme
6262 npx -y publish-if-not-exists
6363 env :
64- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
65- GIT_USER : " barjin:${{ secrets.GH_TOKEN }}"
66- GH_TOKEN : ${{ secrets.GH_TOKEN }}
64+ NPM_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}
65+ GIT_USER : " barjin:${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}"
66+ GH_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
6767
6868 - name : Wait until the new theme version is available on npm
6969 run : |
@@ -112,6 +112,6 @@ jobs:
112112 runs-on : ubuntu-latest
113113 steps :
114114 - env :
115- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
115+ GITHUB_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
116116 run : |
117117 gh workflow run docs.yaml --repo ${{ matrix.repo }} --ref ${{ matrix.branch }}
You can’t perform that action at this time.
0 commit comments