diff --git a/.github/workflows/gatsby.yml b/.github/workflows/gatsby.yml index 74f60d0..1a48d28 100644 --- a/.github/workflows/gatsby.yml +++ b/.github/workflows/gatsby.yml @@ -117,8 +117,10 @@ jobs: run: | npx psi-svg $SITE_URL psi.svg --strategy=$PSI_STRAT - - name: Upload PSI SVG - uses: actions/upload-artifact@v4 - with: - name: psi-svg - path: ./psi.svg + - name: Commit and push analysis svg + run: | + git config --global user.name 'GitHub Action' + git config --global user.email 'action@github.com' + git add psi.svg + git commit -m "chore(deployment): update page speed insights svg [skip ci]" + git push