Delete .github/workflows/push-code.yml
All checks were successful
Code quality checks / build (23) (push) Successful in 1m46s

This commit is contained in:
Lara 2025-04-05 16:43:08 +00:00
parent 7c06d07765
commit 0b8e64d3b8

View file

@ -1,21 +0,0 @@
name: Push code
on:
push:
branches:
- working-commit
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 && docker compose -f docker-compose.standalone.yml down && docker image rm zeppelin-prod-{api,dashboard,bot,migrate,nginx,revampdashboard} && docker compose -f docker-compose.standalone.yml up -d && exit"
- name: cleanup
run: rm -rf ~/.ssh