diff --git a/.github/workflows/build-and-publish-page.yml b/.github/workflows/build-and-publish-page.yml index a5c1be0..7e9a8d7 100644 --- a/.github/workflows/build-and-publish-page.yml +++ b/.github/workflows/build-and-publish-page.yml @@ -1,9 +1,8 @@ name: Node.js CI on: - push: - branches: - - main + release: + types: [published] workflow_dispatch: @@ -94,4 +93,4 @@ jobs: uses: anchore/sbom-action@v0 with: artifact-name: sbom-catalog-${{github.ref_name}}.cdx.json - format: cyclonedx-json \ No newline at end of file + format: cyclonedx-json