Some checks failed
Code quality checks / build (18.16) (push) Has been cancelled
Signed-off-by: laratheprotogen <laraproto@proton.me>
18 lines
No EOL
477 B
YAML
18 lines
No EOL
477 B
YAML
name: Push code
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: install ssh keys
|
|
run: |
|
|
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 |