Skip to content

Commit 57fd987

Browse files
committed
ci(gh-actions): disable publishing lib to npm (test-release)
1 parent 4b34fcf commit 57fd987

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ jobs:
2020
run: npm run build:prod
2121
- name: Run tests
2222
run: npm run test
23-
# - name: Build Docs
24-
# run: npm run docs:build
23+
- name: Build Docs
24+
run: npm run docs:build
2525
- name: Release packages
2626
run: npx gulp publish
2727
env:
2828
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
2929
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3030
AWS_REGION: ${{ secrets.AWS_REGION }}
31-
- name: Publush to NPM (only on tag)
32-
if: startsWith(github.ref, 'refs/tags/') && success()
33-
run: npm publish
34-
env:
35-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36-
# - name: Deploy docs
37-
# uses: crazy-max/ghaction-github-pages@v2
38-
# with:
39-
# target_branch: gh-pages
40-
# build_dir: example/build
31+
# - name: Publush to NPM (only on tag)
32+
# if: startsWith(github.ref, 'refs/tags/') && success()
33+
# run: npm publish
4134
# env:
42-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36+
- name: Deploy docs
37+
uses: crazy-max/ghaction-github-pages@v2
38+
with:
39+
target_branch: gh-pages
40+
build_dir: example/build
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343

0 commit comments

Comments
 (0)