All checks were successful
Deploy stAndrews / deploy (push) Successful in 5s
Running on ubuntu-latest required SSH back to host to run docker commands. Switch to self-hosted runner which executes directly on the analytics VM.
20 lines
389 B
YAML
20 lines
389 B
YAML
name: Deploy stAndrews
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
- name: Deploy
|
|
run: |
|
|
cd /data/projects/r/stAndrews
|
|
git pull origin main
|
|
docker compose build
|
|
docker compose up -d
|
|
docker exec analytics-gateway caddy reload --config /etc/caddy/Caddyfile --adapter caddyfile
|