Skip to content

Commit

Permalink
chore: exclude kpis and api from exports (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
1emu authored Oct 11, 2024
1 parent 46320df commit 8f6965e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/pull-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,22 +137,22 @@ jobs:
npx ts-node ./src/export-financials.ts
npx ts-node ./src/upload.ts Financials ./public/financials.csv
- name: Export KPIs
env:
NODE_OPTIONS: "--max-old-space-size=8192"
SHEET_ID: ${{ secrets.SHEET_ID }}
SHEET_CLIENT_EMAIL: ${{ secrets.SHEET_CLIENT_EMAIL }}
SHEET_PRIVATE_KEY: ${{ secrets.SHEET_PRIVATE_KEY }}
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
run: |
npx ts-node ./src/export-kpis.ts
npx ts-node ./src/upload.ts KPIs ./public/kpis.json
# - name: Export KPIs
# env:
# NODE_OPTIONS: "--max-old-space-size=8192"
# SHEET_ID: ${{ secrets.SHEET_ID }}
# SHEET_CLIENT_EMAIL: ${{ secrets.SHEET_CLIENT_EMAIL }}
# SHEET_PRIVATE_KEY: ${{ secrets.SHEET_PRIVATE_KEY }}
# ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
# run: |
# npx ts-node ./src/export-kpis.ts
# npx ts-node ./src/upload.ts KPIs ./public/kpis.json

- name: Export API
env:
NODE_OPTIONS: "--max-old-space-size=8192"
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
run: npx ts-node ./src/export-api.ts
# - name: Export API
# env:
# NODE_OPTIONS: "--max-old-space-size=8192"
# ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
# run: npx ts-node ./src/export-api.ts

- name: Export Report
env:
Expand Down

0 comments on commit 8f6965e

Please sign in to comment.