smnorris Weekly data replication #13
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: bcdata-replicate-weekly | |
run-name: ${{ github.actor }} Weekly data replication | |
on: | |
schedule: | |
- cron: '0 23 * * THU' | |
workflow_dispatch: | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_ENDPOINT_URL: https://nrs.objectstore.gov.bc.ca | |
AWS_S3_ENDPOINT: nrs.objectstore.gov.bc.ca | |
AWS_VIRTUAL_HOSTING: FALSE | |
AWS_EC2_METADATA_DISABLED: True | |
CPL_VSISTDIN_BUFFER_LIMIT: -1 | |
jobs: | |
replicate: | |
runs-on: ubuntu-latest | |
environment: production | |
container: ghcr.io/smnorris/bcfishpass:main | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Run the jobs | |
run: | | |
cd jobs && ./replicate_bcgw W |