Skip to content

Commit

Permalink
Merge pull request #199 from radixdlt/DO-000-fix-workflow-triggers
Browse files Browse the repository at this point in the history
ci: fix dev and prod triggers
  • Loading branch information
duje-begonja-rdx authored May 17, 2024
2 parents e79534f + af4e36b commit 114f37b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/connect-button-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
echo "PR URL is: https://connect-button-storybook-pr-${{ github.event.number }}.rdx-works-main.extratools.works" >> $GITHUB_STEP_SUMMARY
deploy_dev:
if: ${{ github.event.pull_request }}
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
name: Deploy DEV
runs-on: ubuntu-latest
needs:
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
fetch_logs: "false"

deploy_prod:
if: ${{ github.event.pull_request }}
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
name: Deploy PROD
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 114f37b

Please sign in to comment.