We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e79534f commit af4e36bCopy full SHA for af4e36b
.github/workflows/connect-button-ci.yml
@@ -102,7 +102,7 @@ jobs:
102
echo "PR URL is: https://connect-button-storybook-pr-${{ github.event.number }}.rdx-works-main.extratools.works" >> $GITHUB_STEP_SUMMARY
103
104
deploy_dev:
105
- if: ${{ github.event.pull_request }}
+ if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
106
name: Deploy DEV
107
runs-on: ubuntu-latest
108
needs:
@@ -149,7 +149,7 @@ jobs:
149
fetch_logs: "false"
150
151
deploy_prod:
152
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
153
name: Deploy PROD
154
155
0 commit comments