Skip to content

Commit

Permalink
Update optimize-svg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nermalcat69 authored Sep 12, 2024
1 parent 1d70920 commit 2998030
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/optimize-svg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 2998030

Please sign in to comment.