Skip to content

Commit

Permalink
Merge pull request peter-evans#1 from jeff-anderson-dfinity/feature/c…
Browse files Browse the repository at this point in the history
…leanup

Added enviornment to push.yml
  • Loading branch information
jeff-anderson-dfinity authored Jun 17, 2024
2 parents 6dafc59 + b28f9f8 commit 6739346
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: R2 Backup

on:
push:
pull_request:
branches:
- master
- dev
- main
types:
- closed

jobs:
r2Backup:
r2-backup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: R2 Backup
uses: ./
env:
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
MIRROR_TARGET: ${{ secrets.BUCKET_NAME }}
SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}
BUCKET_NAME: ${{ vars.R2_BUCKET }}
with:
args: --overwrite --remove

0 comments on commit 6739346

Please sign in to comment.