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