File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 66 - master
77 workflow_dispatch :
88
9+ permissions :
10+ id-token : write
11+ contents : write
12+
913jobs :
1014 look_for_change :
1115 if : ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
1721 with :
1822 fetch-depth : 0
1923
20- - name : Use Node.js 22
24+ - name : Use Node.js
2125 uses : actions/setup-node@v6
2226 with :
2327 node-version : 24
@@ -45,11 +49,12 @@ jobs:
4549 with :
4650 token : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
4751
48- - name : Use Node.js 22
52+ - name : Use Node.js
4953 uses : actions/setup-node@v6
5054 with :
5155 node-version : 24
5256 cache : ' npm'
57+ registry-url : ' https://registry.npmjs.org'
5358 cache-dependency-path : ' package-lock.json'
5459 always-auth : ' true'
5560
6267 git config --global user.name "Apify Release Bot"
6368 git config --global user.email "[email protected] " 6469
65- echo "access=public" > ~/.npmrc
66- echo "//registry.npmjs.org/:_authToken=${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}" >> ~/.npmrc
67-
6870 - name : Bump the theme version
6971 run : |
7072 cd $GITHUB_WORKSPACE/apify-docs-theme
7375 - name : Deploy theme to npm
7476 run : |
7577 cd $GITHUB_WORKSPACE/apify-docs-theme
76- npx -y publish-if-not-exists
77- env :
78- GIT_USER : " barjin:${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}"
79- GH_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
78+ npm publish
8079
8180 - name : Wait until the new theme version is available on npm
8281 run : |
You can’t perform that action at this time.
0 commit comments