Skip to content

Commit

Permalink
updating the diff statement in the deploy GH action (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrozich authored May 5, 2024
1 parent f3d65cf commit 6e5bbc8
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 @@ -24,7 +24,7 @@ jobs:
- name: Determine changed files
id: determine_changes
run: |
git diff main@{1} main > changes.txt
git diff main HEAD~1 --name-only > changes.txt
echo "::set-output name=status::$(grep -qvE '^docs/|^README.md|^\.env\.sample$|^config\.json\.sample$|^\.github/workflows/|\.bumpversion\.cfg$' changes.txt && echo 'code' || echo 'docs')"
# Conditional step based on changes
Expand Down

0 comments on commit 6e5bbc8

Please sign in to comment.