Matches the vfxreview/xbid setup: runner pulls and runs docker compose; nginx:alpine serves the static export on the npm_default network behind Nginx Proxy Manager. DEPLOY.md has the one-time SSH setup steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
volumes:
|
||||
- /opt:/opt
|
||||
|
||||
steps:
|
||||
- name: Deploy
|
||||
run: |
|
||||
cd /opt/ttvfx_web
|
||||
|
||||
git pull
|
||||
|
||||
docker compose up -d --build
|
||||
|
||||
docker image prune -f
|
||||
Reference in New Issue
Block a user