Add CD to deploy containers
All checks were successful
Deploy homelab / Deploy (push) Successful in 2s
All checks were successful
Deploy homelab / Deploy (push) Successful in 2s
This commit is contained in:
14
.gitea/workflows/deploy.yaml
Normal file
14
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
name: Deploy homelab
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy
|
||||
runs-on: homelab
|
||||
steps:
|
||||
- run: |
|
||||
cd /home/matthew/homelab
|
||||
docker compose up -d --remove-orphans
|
||||
Reference in New Issue
Block a user