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 4aa7799 commit 8a8b363
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,3 @@ jobs:
git config --local user.email "miaogongzi0227@gmail.com"
git config --local user.name "mgz0227"
- name: Create and push backup branch
run: |
git branch -D backup || true
git checkout -b backup
git add backup/main_backup_$(date +"%Y%m%d").tar.gz
git commit -m "Backup main branch as of $(date +"%Y-%m-%d")"
git push origin backup

0 comments on commit 8a8b363

Please sign in to comment.