Skip to content

Commit

Permalink
Merge pull request #132 from xwp/develop
Browse files Browse the repository at this point in the history
Fix when the deploy-production action runs
  • Loading branch information
derekherman authored Jun 3, 2021
2 parents 1f12b7d + 18feac9 commit 8aed526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
channelId: staging

deploy-production:
if: github.ref == 'refs/heads/main'
if: ${{ github.event.pull_request.merged == true }}
needs: [lint-js]
name: Deploy Production
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8aed526

Please sign in to comment.