Skip to content

Commit

Permalink
Update staging workflow to conditionally exit
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdbeentjes committed Oct 2, 2024
1 parent 1caac2d commit e3f2c23
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/staging-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,16 @@ jobs:
apply-staging:
needs: check-folder-changes
if: env.CHANGES == 'true'
runs-on: ubuntu-latest
steps:
- name: Check if changes are detected
run: |
if [ "$CHANGES" = "true" ]; then
echo "Changes detected in migrations folder"
else
echo "No changes detected in migrations folder"
exit 78
fi
- name: Checkout repository
uses: actions/checkout@v4

Expand Down

0 comments on commit e3f2c23

Please sign in to comment.