Request LINZ Export #27
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: Request LINZ Export | |
on: | |
schedule: | |
- cron: '11 11 * * 5' # at 11:11pm on Friday NZST | |
workflow_dispatch: | |
jobs: | |
requestLinzExport: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: ⏬ Checkout code | |
uses: actions/checkout@v3 | |
- name: 🔢 Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: ⏬ Install | |
run: | | |
yarn | |
- name: 0️⃣ Request data export from LDS | |
run: | | |
yarn request-linz-export | |
env: | |
LINZ_API_KEY: ${{ secrets.LINZ_API_KEY }} | |
STATS_NZ_API_KEY: ${{ secrets.STATS_NZ_API_KEY }} |