Compare commits

..

2 Commits

Author SHA1 Message Date
df87c0b983 Add CD to deploy containers
All checks were successful
Deploy homelab / Deploy (push) Successful in 2s
2025-09-02 23:29:18 -05:00
f74d197e8d Ensure only one job runs on the host runner at a time 2025-09-02 23:24:13 -05:00
2 changed files with 15 additions and 1 deletions

View 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

View File

@@ -11,7 +11,7 @@ runner:
# Where to store the registration result. # Where to store the registration result.
file: .runner file: .runner
# Execute how many tasks concurrently at the same time. # Execute how many tasks concurrently at the same time.
capacity: 20 capacity: 1
# Extra environment variables to run jobs. # Extra environment variables to run jobs.
envs: envs:
# Extra environment variables to run jobs from a file. # Extra environment variables to run jobs from a file.