add the ability to actually restart docker compose
Signed-off-by: laratheprotogen <laraproto@proton.me>
This commit is contained in:
parent
3a5a1aca20
commit
e16e29cf50
1 changed files with 1 additions and 1 deletions
2
.github/workflows/push-code.yml
vendored
2
.github/workflows/push-code.yml
vendored
|
@ -16,6 +16,6 @@ jobs:
|
|||
echo "${{ secrets.ZAPPYZEP_KEY }}" > ~/.ssh/id_ed25519
|
||||
ssh-keyscan -H zappyzep.xyz > ~/.ssh/known_hosts
|
||||
- name: connect and pull
|
||||
run: ssh zappyzep@zappyzep.xyz "cd Zeppelin && git checkout working-commit && git pull && exit"
|
||||
run: ssh zappyzep@zappyzep.xyz "cd Zeppelin && git checkout working-commit && git pull && docker compose -f docker-compose.standalone.yml down && docker image rm zeppelin-prod-{api,dashboard,bot,migrate,nginx} && docker compose up -f docker-compose.standalone.yml up -d && exit"
|
||||
- name: cleanup
|
||||
run: rm -rf ~/.ssh
|
Loading…
Add table
Reference in a new issue