Skip to content

Commit

Permalink
fix commit error
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill authored Mar 23, 2023
1 parent 051fcec commit 5315513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
git config --local user.name "GitHub Action"
git config pull.rebase false
git add src/data
git commit -m "update data folder"
git commit -m "update data folder" || echo "No changes to commit"
- name: push changes
uses: ad-m/[email protected]
with:
Expand All @@ -43,7 +43,7 @@ jobs:
git config --local user.name "GitHub Action"
git config pull.rebase false
git --work-tree dist add --all
git --work-tree dist commit -m "update gh-pages site"
git --work-tree dist commit -m "update gh-pages site" || echo "No changes to commit"
# Runs a set of commands using the runners shell
- name: push changes
uses: ad-m/[email protected]
Expand Down

0 comments on commit 5315513

Please sign in to comment.