periodic commit

This commit is contained in:
NeilClack
2026-02-20 10:25:55 -06:00
parent 664b6daa7f
commit 3ea3ccb2ad
3 changed files with 43 additions and 26 deletions
+28
View File
@@ -0,0 +1,28 @@
# .github/workflows/deploy.yml
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Build image
run: podman build -t portal:latest .
- name: Stop old container
run: podman stop portal || true && podman rm portal || true
- name: Start new container
run: |
podman run -d --name portal \
--replace \
--restart=always \
--network=host \
-v /mnt/volume_nyc3_01/portal/.env:/app/.env:ro \
-v /etc/ssl/certs/do-ca-certificate.crt:/etc/ssl/certs/do-ca-certificate.crt:ro \
portal:latest