Skip to content

Commit

Permalink
Build dev environment on 'master' push
Browse files Browse the repository at this point in the history
Instead of rerunning tests on each _closed_ PR, trigger
building the dev environment when a push to the master branch
has happened.
  • Loading branch information
ehuelsmann committed Nov 4, 2023
1 parent 90b9f77 commit 5862f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- '*'
paths-ignore:
- '.circleci'
types: [opened, reopened, synchronize, closed]
types: [opened, reopened, synchronize]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -533,7 +533,7 @@ jobs:
exit 1
build-dev:
if: github.event.pull_request.merged == true
if: github.event_name = 'push' && github.ref == 'refs/heads/master'

runs-on: ubuntu-latest

Expand Down

0 comments on commit 5862f99

Please sign in to comment.