diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index aa09334..4427755 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -4,6 +4,8 @@ on: branches: [ main ] pull_request: branches: [ main ] + release: + types: [created] jobs: build: runs-on: ubuntu-latest @@ -42,7 +44,7 @@ jobs: publish-profile: ${{ secrets.DEV_PUBLISH_PROFILE }} package: 'publish/app' prd-deploy: - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'release' }} runs-on: ubuntu-latest name: Deploy to prd needs: build