mirror of
https://github.com/Newnetirc/thelounge-theme-newnet.git
synced 2026-11-07 20:55:38 +00:00
Fix action
This commit is contained in:
1 parent
3317c4f763
commit
9a48c84998
1 file changed
+7
-3
@@ -21,9 +21,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish latest
|
- name: Publish latest
|
||||||
if: "!contains(github.ref, '-')"
|
if: "!contains(github.ref, '-')"
|
||||||
run:
|
run: npm publish --tag latest --dry-run
|
||||||
- npm publish --tag latest --dry-run
|
|
||||||
- npm dist-tag rm thelounge-theme-solarized next || true
|
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||||
|
|
||||||
@@ -32,3 +30,9 @@ jobs:
|
|||||||
run: npm publish --tag next --dry-run
|
run: npm publish --tag next --dry-run
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
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 }}
|
||||||
Reference in new issue
Block a user