Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchrish committed Aug 17, 2024
1 parent b9afdc7 commit c7ab0fb
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/create-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,31 +89,31 @@ jobs:
name: ${{ matrix.typeface }}-weights
path: images/${{ matrix.typeface }}-weights.png

commit:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
commit:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
with:
path: zenbones-mono/images
merge-multiple: true
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
with:
path: zenbones-mono/images
merge-multiple: true

- name: Commit and push image changes
working-directory: zenbones-mono
run: |
git add images/*.png
git config --local user.email "[email protected]"
git config --local user.name "Michael Chris Lopez"
- name: Commit and push image changes
working-directory: zenbones-mono
run: |
git add images/*.png
git config --local user.email "[email protected]"
git config --local user.name "Michael Chris Lopez"
status=$(git status --porcelain)
status=$(git status --porcelain)
if [[ -z "$status" ]]; then
echo "No changes to commit"
exit 0
else
git commit -m "Update images"
git push
fi
if [[ -z "$status" ]]; then
echo "No changes to commit"
exit 0
else
git commit -m "Update images"
git push
fi

0 comments on commit c7ab0fb

Please sign in to comment.