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 7c08f27 commit 27cb617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:

- name: Archive main branch as tar.gz
run: |
tar -czf backup/main_backup_$(date +"%Y%m%d").tar.gz *
tar -czf main_backup_$(date +"%Y%m%d").tar.gz *
working-directory: ${{ github.workspace }}

- name: Upload backup to Artifact
uses: actions/upload-artifact@v4
with:
name: backup
path: ${{ github.workspace }}/backup/*.tar.gz
path: ${{ github.workspace }}/*.tar.gz

- name: Set up Git
run: |
Expand Down

0 comments on commit 27cb617

Please sign in to comment.