Skip to content

smnorris Weekly data replication #13

smnorris Weekly data replication

smnorris Weekly data replication #13

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