Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
let1ci4b committed Sep 15, 2023
1 parent ab154cf commit ec5585b
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1 @@
name: Snake Game

on:
schedule:
# Será atualizado a cada 5 horas.
- cron: "0 */5 * * *"

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2

- uses: Platane/snk@master
id: snake-gif
with:
github_user_name: let1ci4b
gif_out_path: dist/github-contribution-grid-snake.gif
svg_out_path: dist/github-contribution-grid-snake.svg

- run: git status

- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master
force: true

- uses: crazy-max/ghaction-github-pages@v2.1.3
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ec5585b

Please sign in to comment.