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'