From 04fee167b9dd2786b77f9083e907a734ab0adfa6 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 14 Sep 2024 14:57:06 +0800 Subject: [PATCH] auto build --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0934cb3c..a130624d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,9 @@ name: Build Moviepilot-Frontend on: workflow_dispatch: + push: + branches: + - dev jobs: build: @@ -37,6 +40,13 @@ jobs: echo "$frontend_version" > dist/version.txt zip -r dist.zip dist + - name: Delete Release + uses: dev-drprasad/delete-tag-and-release@v1.1 + with: + tag_name: dev_${{ env.frontend_version }} + delete_release: true + github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Generate Release uses: softprops/action-gh-release@v2 with: