Skip to content

Commit

Permalink
fix: Generate data in deploy process
Browse files Browse the repository at this point in the history
  • Loading branch information
wilgnne committed Jun 1, 2021
1 parent be5615d commit 7d9309f
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@ on:
branches:
- main
jobs:
generate-data:
runs-on: ubuntu-latest

steps:
- name: Generate data 📇
uses: Platane/snk@master
with:
github_user_name: ${{ github.repository_owner }}
gif_out_path: public/github-contribution-grid-snake.gif

- name: Commit data 🎉
uses: EndBug/add-and-commit@v7
with:
default_author: github_actions

build-and-deploy:
runs-on: ubuntu-latest
env:
Expand All @@ -36,6 +21,12 @@ jobs:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}

- name: Generate data 📇
uses: Platane/snk@master
with:
github_user_name: ${{ github.repository_owner }}
gif_out_path: public/github-contribution-grid-snake.gif

- name: Install and Build 🔧
uses: actions/setup-node@v1
- run: yarn install
Expand Down

0 comments on commit 7d9309f

Please sign in to comment.