Skip to content

Commit

Permalink
CI adding PR event
Browse files Browse the repository at this point in the history
  • Loading branch information
j-catania committed Dec 11, 2023
1 parent 053fa59 commit 2dde9ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
staging:
name: Deploy to staging
runs-on: ubuntu-latest
if: {{github.event_name != 'workflow_dispatch'}}
if: !(github.event_name == 'workflow_dispatch')
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -40,7 +40,7 @@ jobs:
production:
name: Deploy to production
runs-on: ubuntu-latest
if: {{github.event_name == 'workflow_dispatch'}}
if: github.event_name == 'workflow_dispatch'
permissions:
contents: write
steps:
Expand Down

0 comments on commit 2dde9ba

Please sign in to comment.