Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Automated Production Backup

on:
# Run daily at 2 AM UTC (adjust timezone as needed)
# Run weekly on Sunday at 2 AM UTC
schedule:
- cron: '0 2 * * *'
- cron: '0 2 * * 0'

# Allow manual trigger
workflow_dispatch:
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
curl -H "Content-Type: application/json" \
-d '{
"embeds": [{
"title": "🗄️ Backup Started",
"title": "📝 [Blog] Backup Started",
"description": "Daily backup process initiated",
"color": 3447003,
"fields": [
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
curl -H "Content-Type: application/json" \
-d '{
"embeds": [{
"title": "✅ Backup Completed Successfully",
"title": "✅ [Blog] Backup Completed",
"description": "All data has been backed up",
"color": 5763719,
"fields": [
Expand All @@ -89,7 +89,7 @@ jobs:
curl -H "Content-Type: application/json" \
-d '{
"embeds": [{
"title": "❌ Backup Failed",
"title": "❌ [Blog] Backup Failed",
"description": "The automated backup process has failed",
"color": 15158332,
"fields": [
Expand Down