Fix action

This commit is contained in:
Pavel Djundik 2019-11-18 18:41:06 +02:00
parent 3317c4f763
commit 9a48c84998
1 changed files with 7 additions and 3 deletions

View File

@ -21,9 +21,7 @@ jobs:
- name: Publish latest
if: "!contains(github.ref, '-')"
run:
- npm publish --tag latest --dry-run
- npm dist-tag rm thelounge-theme-solarized next || true
run: npm publish --tag latest --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
@ -32,3 +30,9 @@ jobs:
run: npm publish --tag next --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- name: Remove next tag
if: "!contains(github.ref, '-')"
run: npm dist-tag rm thelounge-theme-solarized next || true
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}