Skip to content

Commit

Permalink
Merge pull request #1072 from 0chain/fix/backup
Browse files Browse the repository at this point in the history
Update backup.yml -> updated variable
  • Loading branch information
Kishan-Dhakan authored Aug 16, 2023
2 parents 2065571 + 5ee194f commit acf2724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Create backup
if: steps.get_info.outputs.GIT_COMMIT_DATE == steps.get_info.outputs.YESTERDAY_DATE
run: |
sudo apt update && sudo apt install python3-pip -y
sudo apt update && sudo apt install python3-pip zip unzip -y
sudo pip3 install github-backup
sudo github-backup -O 0chain -P -t ${{ secrets.ACCESS_TOKEN }} --output-directory=/github-backup/gosdk --all -O -R gosdk
Expand All @@ -43,8 +43,8 @@ jobs:
if: steps.get_info.outputs.GIT_COMMIT_DATE == steps.get_info.outputs.YESTERDAY_DATE
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.SECRET_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.S3_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.S3_SECRET_KEY }}
aws-region: us-east-2

- name: Backup to s3
Expand Down

0 comments on commit acf2724

Please sign in to comment.