Skip to content

Commit a6109e2

Browse files
authored
Create github-backup.yml
1 parent c22f06d commit a6109e2

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Mirror repo to S3
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
jobs:
7+
s3Backup:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: S3 Backup
12+
uses: peter-evans/s3-backup@v1
13+
env:
14+
ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
15+
SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
16+
MIRROR_TARGET: bfansports-github-backup/CloudTranscode
17+
with:
18+
args: --overwrite --remove

0 commit comments

Comments
 (0)