We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6f3059 commit 12ee3b6Copy full SHA for 12ee3b6
1 file changed
.github/workflows/backup.yml
@@ -29,16 +29,14 @@ jobs:
29
# Copie du site en excluant .git et anciens backups
30
rsync -av --exclude='.git' --exclude='backup-*' ./ "$BACKUP_DIR/"
31
32
- # Archive compressée
+ # Archive compressee
33
tar -czf "$BACKUP_DIR.tar.gz" "$BACKUP_DIR"
34
35
echo "Backup created: $BACKUP_DIR.tar.gz"
36
ls -lh "$BACKUP_DIR.tar.gz"
37
38
- # ⚠️ Plus de commit/push des .tar.gz dans 'backups'
39
-
40
- name: Create GitHub Release with backup
41
- uses: softprops/action-gh-release@v1
+ uses: softprops/action-gh-release@v2
42
with:
43
tag_name: backup-${{ github.run_number }}
44
name: Weekly Backup - ${{ github.run_number }}
0 commit comments