File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ # Nome da Actions:
2+ name : Snake Game
3+
4+ # Controlador do tempo que sera feito a atualização dos arquivos.
5+ on :
6+ schedule :
7+ # Será atualizado a cada 5 horas.
8+ - cron : " 0 */5 * * *"
9+
10+ # Permite executar na lista de Actions (utilizado para testes de build).
11+ workflow_dispatch :
12+
13+ # Regras
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+ steps :
18+
19+ # Checks repo under $GITHUB_WORKSHOP, so your job can access it
20+ - uses : actions/checkout@v2
21+
22+ # Repositorio que será utilizado para gerar os arquivos.
23+ - uses : Platane/snk@master
24+ id : snake-gif
25+ with :
26+ github_user_name : HelenLazarotti # Seu usuario
27+ gif_out_path : dist/github-contribution-grid-snake.gif
28+ svg_out_path : dist/github-contribution-grid-snake.svg
29+
30+ - run : git status
31+
32+ # Para as atualizações.
33+ - name : Push changes
34+ uses : ad-m/github-push-action@master
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ branch : master
38+ force : true
39+
40+ -
uses :
crazy-max/[email protected] 41+ with :
42+ # the output branch we mentioned above
43+ target_branch : output
44+ build_dir : dist
45+ env :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments