mirror of
https://github.com/tubearchivist/tubearchivist-server.git
synced 2024-11-21 19:30:12 +00:00
single step production build
This commit is contained in:
parent
7d48b7f78f
commit
d8c3f62055
@ -24,9 +24,7 @@ function docker_publish {
|
|||||||
rsync -a --progress --delete helper_scripts $public_host:
|
rsync -a --progress --delete helper_scripts $public_host:
|
||||||
rsync -a --progress --delete builder/ $public_host:builder
|
rsync -a --progress --delete builder/ $public_host:builder
|
||||||
ssh "$public_host" "mkdir -p builder/clone"
|
ssh "$public_host" "mkdir -p builder/clone"
|
||||||
|
ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d --build'
|
||||||
ssh "$public_host" 'docker compose -f docker/docker-compose.yml build tubearchivist'
|
|
||||||
ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# check package versions in requirements.txt for updates
|
# check package versions in requirements.txt for updates
|
||||||
|
Loading…
Reference in New Issue
Block a user