Skip to content

Commit

Permalink
Merge pull request nasa-gcn#2086 from lpsinger/fix-deploy-if
Browse files Browse the repository at this point in the history
Fix `if` condition for `deploy` job
  • Loading branch information
dakota002 authored Mar 13, 2024
2 parents 09dfc94 + f6a94c6 commit 5ed7dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
deploy:
name: Deploy to AWS
needs: build
if: github.event_name == 'push' && github.ref == github.event.repository.default_branch
if: github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 5ed7dc6

Please sign in to comment.