Skip to content

Commit

Permalink
Update build_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Carpenteri1 authored Mar 21, 2024
1 parent c4a6bb2 commit 15d314a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
git checkout -B gh-pages
# Check if there are changes, --porcelain command checks for changes in the entire repository,
if [ -n "$(git status --porcelain)" ]; then
# if [ -n "$(git status --porcelain)" ]; then
# Assuming your built files are in /root
git add -A
git commit -m "Update gh-pages"
git commit -m "Update gh-pages" --allow-empty
git push -f origin gh-pages
else
echo "No changes to commit."
fi
#else
#echo "No changes to commit."
#fi

0 comments on commit 15d314a

Please sign in to comment.