From e3859df5d19a56009276ecbf3189d54c7d15d08a Mon Sep 17 00:00:00 2001 From: toridoriv Date: Tue, 17 Oct 2023 22:17:05 -0300 Subject: [PATCH] :green_heart: Undo changes and deploy again on tag creation --- .github/workflows/deploy-server.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-server.yml b/.github/workflows/deploy-server.yml index dc7d6f8..458694d 100644 --- a/.github/workflows/deploy-server.yml +++ b/.github/workflows/deploy-server.yml @@ -1,11 +1,16 @@ name: 🚀 Deploy Server on: - release: - types: [created] + push: + branches: + - main + tags: + - "v[0-9]+.[0-9]+.[0-9]+-[a-zA-Z]*" + - "v[0-9]+.[0-9]+.[0-9]" jobs: deploy: + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest permissions: