Update .github/workflows/push-code.yml
Some checks failed
Code quality checks / build (18.16) (push) Has been cancelled
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:
parent
0ff0115e3a
commit
2cc9844b8a
1 changed files with 8 additions and 8 deletions
16
.github/workflows/push-code.yml
vendored
16
.github/workflows/push-code.yml
vendored
|
@ -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
|
Loading…
Add table
Reference in a new issue