diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 5b4c1cc..08ec1b6 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -1,5 +1,8 @@ name: Publish npm package to gitea on: + push: + branches: + - '*' release: types: [published] jobs: @@ -31,6 +34,6 @@ jobs: - name: Authenticate to git.vdb.to registry run: | npm config set -- '//git.vdb.to/api/packages/cerc-io/npm/:_authToken' "${{ secrets.GITEA_PUBLISH_TOKEN }}" - - name: npm publish + - name: npm whoami run: | - npm publish + npm whoami