mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-07-02 08:18:06 +00:00
Improve script test
This commit is contained in:
@@ -45,8 +45,11 @@ jobs:
|
|||||||
BACKUP_KEEP_WEEKS: 4
|
BACKUP_KEEP_WEEKS: 4
|
||||||
BACKUP_KEEP_MONTHS: 6
|
BACKUP_KEEP_MONTHS: 6
|
||||||
run: |
|
run: |
|
||||||
|
echo "Test backup script..."
|
||||||
mkdir -p "$BACKUP_DIR"
|
mkdir -p "$BACKUP_DIR"
|
||||||
sh -xe backup.sh
|
sh -xe backup.sh
|
||||||
|
echo "Generated backup files:"
|
||||||
|
ls -laR "$BACKUP_DIR"
|
||||||
|
|
||||||
test-docker:
|
test-docker:
|
||||||
if: ${{ github.event_name == 'pull_request' || github.ref != 'refs/heads/main' }}
|
if: ${{ github.event_name == 'pull_request' || github.ref != 'refs/heads/main' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user