Add safe VPS deploy entrypoint
This commit is contained in:
parent
883ad1ce5b
commit
39bac1ee8c
8 changed files with 404 additions and 10 deletions
|
|
@ -1,7 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
git fetch
|
||||
git switch deployment
|
||||
git pull
|
||||
docker compose up -d --build --force-recreate
|
||||
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
exec "$repo_root/deploy" main "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue