Skip to content

Atualizar Tesouro Direto #11565

Atualizar Tesouro Direto

Atualizar Tesouro Direto #11565

Workflow file for this run

name: Atualizar Tesouro Direto
on:
schedule:
- cron: "*/90 * * * *"
jobs:
scheduled-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm install
- run: node downloadTesouro.js
- run: |
if ! git diff-index --quiet HEAD --; then
git config user.email "[email protected]"
git config user.name "BotTesouro"
git add PrecoTaxaTesouroDireto.csv tesouro.json
git commit -m "Atualizar Tesouro Direto" --allow-empty
git push
fi