Skip to content

Commit 4b03fb9

Browse files
committed
Fix git command conditionals
1 parent 30ccd37 commit 4b03fb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-to-website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
node update_links_in_translations.js
3131
git config --local user.name "github-actions[bot]"
3232
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
33-
git diff --quiet || git commit -am "Update Links in Translations" && git push
33+
git diff --quiet || (git commit -am "Update Links in Translations" && git push)
3434
- name: Checkout innersourcecommons.org
3535
uses: actions/checkout@v2
3636
with:
@@ -58,4 +58,4 @@ jobs:
5858
run: |
5959
git config --local user.name "github-actions[bot]"
6060
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
61-
git diff --quiet || git add . && git commit -m "Update Learning Path articles" && git push
61+
git diff --quiet || (git add . && git commit -m "Update Learning Path articles" && git push)

0 commit comments

Comments
 (0)