From 107a1ecb873313acb40e124f115ddac634f70672 Mon Sep 17 00:00:00 2001 From: Wei Jia <60139353+iuu6@users.noreply.github.com> Date: Sun, 17 Mar 2024 17:40:11 +0800 Subject: [PATCH] Update snake.yml --- .github/workflows/snake.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/snake.yml b/.github/workflows/snake.yml index c7af223..5ce7677 100644 --- a/.github/workflows/snake.yml +++ b/.github/workflows/snake.yml @@ -27,14 +27,12 @@ jobs: with: github_user_name: ${{ github.repository_owner }} outputs: | - dist/snake-Light.svg - dist/snake-Dark.svg + ./static/svg/snake-Light.svg + ./static/svg/snake-Dark.svg # push the content of to a branch # the content will be available at https://raw.githubusercontent.com//// , or as github page - - name: push github-contribution-grid-snake.svg to the output branch - uses: crazy-max/ghaction-github-pages@v4 + - name: Push to GitHub + uses: EndBug/add-and-commit@v7.2.1 with: - target_branch: main - build_dir: ./static/svg/ - env: - GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + branch: main + message: 'Generate Contribution Snake'