Backup #622
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: Backup | |
on: | |
workflow_dispatch: | |
schedule: | |
# Backup our Postgres DB nightly at 2AM AEST (4PM UTC) | |
- cron: "0 16 * * *" | |
jobs: | |
backup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run backup script | |
run: ./infra/backup.sh | |
shell: bash | |
env: | |
CLERK_PRIVATE_SSH_KEY: ${{ secrets.CLERK_PRIVATE_SSH_KEY }} | |