-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d70920
commit 2998030
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,15 @@ jobs: | |
- name: Run SVG optimization script | ||
run: node index.js | ||
|
||
- name: Upload optimized SVGs | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: optimized-svgs | ||
path: ./covers/svg | ||
- name: Configure Git | ||
run: | | ||
git config --global user.name "github-actions" | ||
git config --global user.email "[email protected]" | ||
- name: Commit and push changes | ||
run: | | ||
git add . | ||
git commit -m "Optimize SVG files" | ||
git push | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |