Skip to content

Commit

Permalink
Update master PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrouth authored and Blake Mason committed Jun 13, 2022
1 parent 8b36e0b commit c7375fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master-pr-gae.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build-push-deploy:
name: 'Deploy Preview Version'
runs-on: ubuntu-latest
if: ${{ github.event.action != 'closed'}}
if: ${{ (github.event.action != 'closed') && (startsWith(github.head_ref, 'preview') == true) }}

# Checkout the repository to the GitHub Actions runner
steps:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
cleanup:
name: 'Cleanup PR Preview'
runs-on: ubuntu-latest
if: ${{ github.event.action == 'closed'}}
if: ${{ (github.event.action == 'closed') && (startsWith(github.head_ref, 'preview') == true) }}

# Checkout the repository to the GitHub Actions runner
steps:
Expand Down

0 comments on commit c7375fb

Please sign in to comment.