Run workflow natively, skip redundant image rebuild
Some checks failed
Deploy stAndrews / deploy (push) Has been cancelled

This commit is contained in:
2026-03-09 11:06:19 -04:00
parent 18f240c0ae
commit 72af0a2e16

View File

@@ -8,13 +8,8 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: debian:bookworm-slim
steps: steps:
- name: Install SSH client
run: apt-get update -y && apt-get install -y --no-install-recommends openssh-client
- name: Deploy via SSH - name: Deploy via SSH
env: env:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }} SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
@@ -28,6 +23,6 @@ jobs:
ssh ${SERVER_USER}@${SERVER_IP} " ssh ${SERVER_USER}@${SERVER_IP} "
cd /data/projects/r/stAndrews && cd /data/projects/r/stAndrews &&
git pull && git pull &&
docker compose up -d --build && docker compose up -d &&
docker exec analytics-gateway caddy reload --config /etc/caddy/Caddyfile --adapter caddyfile docker exec analytics-gateway caddy reload --config /etc/caddy/Caddyfile --adapter caddyfile
" "