Some checks failed
Deploy / deploy (push) Failing after 1s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
337 B
YAML
21 lines
337 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: host
|
|
steps:
|
|
- name: Pull latest code
|
|
run: |
|
|
cd /opt/redunits/www
|
|
git pull origin main
|
|
|
|
- name: Rebuild and restart container
|
|
run: |
|
|
cd /opt/redunits/www
|
|
docker compose up -d --build
|