Execute script de hora em hora #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Execute script de hora em hora | |
on: | |
schedule: | |
- cron: '0 * * * *' | |
jobs: | |
run_script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout do repositório | |
uses: actions/checkout@v3 | |
- name: Configurar Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Instalar dependências | |
run: pip install -r requirements.txt | |
- name: Executar o script | |
run: python3 src/commit_diario.py |