From 758691af11d1723159adc6976f73ecaf4bdb8986 Mon Sep 17 00:00:00 2001 From: Gethin Davies Date: Mon, 13 Feb 2023 18:28:38 +0000 Subject: [PATCH] Update gh-pages-deploy.yaml Publish to GH-pages on release --- .github/workflows/gh-pages-deploy.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gh-pages-deploy.yaml b/.github/workflows/gh-pages-deploy.yaml index 345f5e9..ab7f09c 100644 --- a/.github/workflows/gh-pages-deploy.yaml +++ b/.github/workflows/gh-pages-deploy.yaml @@ -1,14 +1,13 @@ on: - push: - tags: - - 'v*.*.*' + release: + types: [published] permissions: contents: write jobs: build: - name: Build & Release + name: Build runs-on: ubuntu-latest steps: - name: Checkout @@ -52,9 +51,6 @@ jobs: name: bundle path: dist/ - - name: Release - uses: softprops/action-gh-release@v1 - deploy: name: Deploy needs: build