ci: run release only on tag
This commit is contained in:
parent
34058626f0
commit
fe8f591385
@ -45,6 +45,7 @@ jobs:
|
||||
- run: npm run build
|
||||
|
||||
release:
|
||||
if: startsWith(gitea.ref, 'refs/tags')
|
||||
runs-on: ubuntu-latest
|
||||
container: nextcloud:26
|
||||
steps:
|
||||
@ -64,7 +65,6 @@ jobs:
|
||||
- run: npm i -g npm@${{ steps.versions.outputs.npmVersion }}
|
||||
- run: make dist
|
||||
- uses: akkuman/gitea-release-action@v1
|
||||
if: startsWith(gitea.ref, 'refs/tags')
|
||||
with:
|
||||
files: |
|
||||
build/artifacts/RePod.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user