-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/development' into build/transpil…
…e-bundle-backend-esbuild
- Loading branch information
Showing
7 changed files
with
133 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,9 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Deploy to Server | ||
uses: easingthemes/[email protected].0 | ||
uses: easingthemes/[email protected].1 | ||
with: | ||
ARGS: '-rlgoDzvc -i --delete' | ||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,9 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Deploy to Server | ||
uses: easingthemes/[email protected].0 | ||
uses: easingthemes/[email protected].1 | ||
with: | ||
ARGS: '-rlgoDzvc -i --delete' | ||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Disable sending all cronjob results, send only errors | ||
# https://manual.uberspace.de/daemons-cron/#mails | ||
MAILTO="" | ||
|
||
# See https://crontab.guru/ for schedule | ||
0 2 * * * /bin/bash ~/serlo-editor-as-lti-tool/uberspace/backup_database.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
set -e | ||
|
||
timestamp="$(date '+%Y-%m-%d-%H-%M-%S')" | ||
file="/home/${USER}/$timestamp.sql" | ||
|
||
mysqldump ${USER} > $file | ||
|
||
s3cmd put $file s3://serlo-test-database-backup | ||
|
||
rm $file | ||
|
||
echo 'Successfully backed up database on IONOS' |
Oops, something went wrong.