mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-30 09:01:30 +08:00
chore(ci): push on tag only
This commit is contained in:
parent
5e8dff52b8
commit
0b385595da
7
.github/workflows/release-package.yml
vendored
7
.github/workflows/release-package.yml
vendored
@ -1,6 +1,8 @@
|
|||||||
name: Release
|
name: Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
jobs:
|
jobs:
|
||||||
publish-github-registry:
|
publish-github-registry:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -14,7 +16,4 @@ jobs:
|
|||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn push
|
- run: yarn push
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
Loading…
x
Reference in New Issue
Block a user