Skip to content

Commit

Permalink
update ci cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnab-Developer committed Mar 19, 2021
1 parent d15f377 commit 28d9f87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 28d9f87

Please sign in to comment.