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

Update .gitlab-ci.yml

parent 778ec99b
No related branches found
No related tags found
No related merge requests found
Pipeline #210 passed
......@@ -24,7 +24,7 @@ build:
script:
- chmod +x ci/build.sh
- chmod +x ci/build-frontend.sh
- sed -i 's/api.nerinyan.pw/ko.nerinyan.pw/' OsuLazerServer/Services/Beatmaps/BeatmapSetResolverService.cs
- sed -i 's/api.nerinyan.moe/ko.nerinyan.moe/' OsuLazerServer/Services/Beatmaps/BeatmapSetResolverService.cs
- ci/build.sh
- ci/build-frontend.sh
- docker build -t gitlab-registry.srv-1.kotworks.cyou/dhcpcp/osu-lazer-server -f OsuLazerServer/Dockerfile .
......@@ -65,4 +65,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
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