Skip to content
Snippets Groups Projects
Commit f28c3436 authored by DHCPCD's avatar DHCPCD
Browse files

Update .gitlab-ci.yml file

parent 4c7a7bc4
No related branches found
No related tags found
No related merge requests found
Pipeline #198 passed
......@@ -64,6 +64,4 @@ create-backup-task:
- export FILENAME=backup-$(date '+%Y-%m-%d.%h%m').gz
- docker exec -u postgres -t lazer-server-db pg_dump --username=postgres -d lazer --port 5432 --host localhost > lazer.sql
- gzip -c lazer.sql > $FILENAME
- curl -F "file=@./$FILENAME" -F "content=Backup for $(date)" $WEBHOOK_URL > null
#
\ No newline at end of file
- curl -F "file=@./$FILENAME" -F "content=Backup for $(date)" $WEBHOOK_URL > null
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment