Skip to content

Commit

Permalink
Merge pull request #68 from Flaconi/OPS-5042
Browse files Browse the repository at this point in the history
OPS-5042 Backup repo
  • Loading branch information
vikkasyousaf authored Jun 8, 2022
2 parents fce2025 + eb029e0 commit a37fe0c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/backups.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

name: Backup Github Respository

# -------------------------------------------------------------------------------------------------
# When to run
# -------------------------------------------------------------------------------------------------

on:
push:
branches:
- master

jobs:
backup:
uses: Flaconi/github-reusable-workflow/.github/workflows/backups.yml@stable
with:
enabled: True
region: eu-central-1
secrets:
iam_role_arn: ${{ secrets.BACKUP_REPO_IAM_ROLE }}
bucket_name: ${{ secrets.BACKUP_REPO_BUCKET }}
git_read_token: ${{ secrets.REPO_READ_TOKEN }}

0 comments on commit a37fe0c

Please sign in to comment.