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 runs-on: ubuntu-latest
steps: steps:
- name: load ssh key - name: install ssh keys
shell: bash
run: | run: |
echo "${{secrets.ZAPPYZEP_KEY}}" >> id_ed25519 install -m 600 -D /dev/null ~/.ssh/id_ed25519
- name: connect to zappyzep echo "${{ secrets.ZAPPYZEP_KEY }}" > ~/.ssh/id_ed25519
shell: bash ssh-keyscan -H zappyzep.xyz > ~/.ssh/known_hosts
run: | - name: connect and pull
ssh -i id_ed25519 zappyzep@zappyzep.xyz /bin/bash run: ssh zappyzep@zappyzep.xyz "cd Zeppelin && git checkout working-commit && git pull && exit"
exit - name: cleanup
run: rm -rf ~/.ssh