-
Notifications
You must be signed in to change notification settings - Fork 2
25 lines (24 loc) · 793 Bytes
/
estrutura.yml
File metadata and controls
25 lines (24 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Estrutura ANAC
on:
workflow_dispatch: {}
push:
# paths:
# - .github/workflows/estrutura.yml
schedule:
- cron: '0 0 1 * *'
jobs:
schedule:
runs-on: ubuntu-latest
steps:
- name: Setup deno
uses: denoland/setup-deno@main
with:
deno-version: v1.x
- name: Check out repo
uses: actions/checkout@v4
# URL dos dados a serem baixados (http_url) e on nomes dos arquivos (downloaded_filename)
- name: Fetch data
uses: githubocto/flat@v3
with:
http_url: https://estruturaorganizacional.dados.gov.br/doc/estrutura-organizacional/completa.json?codigoPoder=1&codigoEsfera=1&codigoUnidade=86144&retornarOrgaoEntidadeVinculados=SIM
downloaded_filename: anac/estrutura.json