From 6bce441f60f2d749fac5dc082da7a155b5ebe233 Mon Sep 17 00:00:00 2001 From: Marius Biebel Date: Tue, 2 Jul 2024 23:05:56 +0200 Subject: [PATCH] Update build-and-publish-page.yml fixing bad change on ci cd Signed-off-by: Marius Biebel --- .github/workflows/build-and-publish-page.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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