Skip to content

Backup Database

Backup Database #94

Workflow file for this run

name: Backup Database
on:
workflow_dispatch:
schedule: # 01:00 UTC
- cron: "0 1 * * *"
jobs:
backup:
name: Backup Database
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
environment: [development, staging, production]
environment:
name: ${{matrix.environment}}
concurrency: ${{matrix.environment}}_${{github.event.number}}
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Backup Database
id: db_backup
uses: ./.github/workflows/actions/database-backup
with:
environment: ${{matrix.environment}}
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}