File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1313 schedule :
1414 - cron : " 0 7 * * 1"
1515
16+ permissions :
17+ id-token : write
18+ contents : read
1619jobs :
1720 build :
1821 runs-on : ubuntu-latest
@@ -106,13 +109,15 @@ jobs:
106109 publish_dir : website/public
107110 force_orphan : true
108111 deploy-npm :
112+ if : ${{ github.ref == 'refs/heads/master' }}
109113 needs : build
110114 runs-on : ubuntu-latest
111115 steps :
112116 - uses : actions/checkout@v5
113117 - uses : actions/setup-node@v6
114118 with :
115119 node-version : ' lts/*'
120+ registry-url : ' https://registry.npmjs.org'
116121 - run : sudo apt-get update
117122 - run : sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev liblzma-dev
118123 - run : npm ci
@@ -126,5 +131,4 @@ jobs:
126131 - name : Release
127132 env :
128133 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
129- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
130134 run : npx semantic-release
You can’t perform that action at this time.
0 commit comments