@@ -2,7 +2,7 @@ name: Generate new release
22on :
33 push :
44 tags :
5- - ' v2 *'
5+ - ' v3 *'
66jobs :
77 build :
88 runs-on : ubuntu-latest
3030 - run : npm ci
3131 - run : npm run build
3232 - name : Publish package to NPM
33- run : npm publish
33+ run : npm publish --tag alpha
3434 continue-on-error : true
3535 env :
3636 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
@@ -43,18 +43,18 @@ jobs:
4343 artifacts : ' ./dist/zip/*.zip'
4444 bodyFile : ' RELEASE_BODY.md'
4545 token : ${{ secrets.GITHUB_TOKEN }}
46- - name : Publish on gh-pages
47- run : |
48- git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
49- chown -R 1001:121 "/github/home/.npm"
50- chown -R 1001:121 "/github/home/.bundle/"
51- chmod -R 777 /github/home/.bundle/
52- chmod -R 777 /usr/local/bundle/
53- npm run documentation-deploy-to-gh-pages
54- env :
55- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56- - uses : italia/slack-notify-release-action@v0.2.0
57- with :
58- slack_token : ${{ secrets.SLACK_TOKEN }}
59- channel_id : ${{ secrets.SLACK_CHANNEL }}
60- project_name : Bootstrap Italia
46+ # - name: Publish on gh-pages
47+ # run: |
48+ # git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
49+ # chown -R 1001:121 "/github/home/.npm"
50+ # chown -R 1001:121 "/github/home/.bundle/"
51+ # chmod -R 777 /github/home/.bundle/
52+ # chmod -R 777 /usr/local/bundle/
53+ # npm run documentation-deploy-to-gh-pages
54+ # env:
55+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+ # - uses: italia/slack-notify-release-action@v0.2.0
57+ # with:
58+ # slack_token: ${{ secrets.SLACK_TOKEN }}
59+ # channel_id: ${{ secrets.SLACK_CHANNEL }}
60+ # project_name: Bootstrap Italia
0 commit comments