Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dudushy committed Oct 7, 2024
1 parent e4bb588 commit e3f6638
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
- name: Restore build files
run: |
# Remove existing files before copying new ones
rm -rf ./*
cp -r /tmp/gh-pages/* ./
- name: Add build files
Expand All @@ -69,8 +71,10 @@ jobs:
echo "No changes to commit."
exit 0
fi
continue-on-error: true # Allow workflow to continue without failing

- name: Commit and push the changes
if: ${{ success() }} # Only run if the previous steps were successful
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit e3f6638

Please sign in to comment.