30 lines
712 B
YAML
30 lines
712 B
YAML
name: Monitoramento Diario do Upstream
|
|
|
|
on:
|
|
schedule:
|
|
# Executa diariamente as 04:00 UTC (01:00 BRT)
|
|
- cron: '0 4 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check_upstream:
|
|
name: Verificar Atualizacoes do Upstream e Whatsmeow
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout do Repositorio
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Executar Script de Verificacao
|
|
id: check
|
|
run: |
|
|
bash scripts/check-upstream-updates.sh
|
|
|
|
- name: Salvar Relatorio como Artefato
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: relatorio-upstream-${{ github.run_id }}
|
|
path: relatorio_atualizacao_*.md
|