flat #6553
This file contains 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: flat | |
on: | |
push: | |
paths: | |
- .github/workflows/flat.yml # Only run a new workflow every time this file (flat.yaml) file changes | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 1 * *' # run once a month | |
jobs: | |
scheduled: | |
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@v3 | |
- name: Fetch data | |
uses: githubocto/flat@mr/node16 | |
with: | |
sql_connstring: ${{ secrets.CONNSTRING }} | |
sql_queryfile: query.sql | |
downloaded_filename: sql-data.csv | |
# typeorm_config: # optional param to pass in typeorm config |