Update .github/workflows/push-code.yml
This commit is contained in:
parent
e16e29cf50
commit
5546ccda96
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
|
echo "${{ secrets.ZAPPYZEP_KEY }}" > ~/.ssh/id_ed25519
|
||||||
ssh-keyscan -H zappyzep.xyz > ~/.ssh/known_hosts
|
ssh-keyscan -H zappyzep.xyz > ~/.ssh/known_hosts
|
||||||
- name: connect and pull
|
- name: connect and pull
|
||||||
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"
|
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 -f docker-compose.standalone.yml up -d && exit"
|
||||||
- name: cleanup
|
- name: cleanup
|
||||||
run: rm -rf ~/.ssh
|
run: rm -rf ~/.ssh
|
Loading…
Add table
Reference in a new issue