Skip to content

Commit

Permalink
Update backup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgz0227 authored May 3, 2024
1 parent 9f297fa commit a7f9fdf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,15 @@ jobs:
tar -czf main_backup_$(date +"%Y%m%d").tar.gz *
working-directory: ${{ github.workspace }}

- name: Set up Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "mgz0227"
- name: Create and push backup branch
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.HARMONY_BACKUP }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: backup
directory: ./
force: true

0 comments on commit a7f9fdf

Please sign in to comment.