Update .github/workflows/push-code.yml
Some checks failed
Code quality checks / build (18.16) (push) Has been cancelled

Signed-off-by: laratheprotogen <laraproto@proton.me>
This commit is contained in:
Lara 2024-10-25 12:34:31 +00:00
parent 0ff0115e3a
commit 2cc9844b8a

View file

@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: load ssh key
shell: bash
- name: install ssh keys
run: |
echo "${{secrets.ZAPPYZEP_KEY}}" >> id_ed25519
- name: connect to zappyzep
shell: bash
run: |
ssh -i id_ed25519 zappyzep@zappyzep.xyz /bin/bash
exit
install -m 600 -D /dev/null ~/.ssh/id_ed25519
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"
- name: cleanup
run: rm -rf ~/.ssh