Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 5s
18 lines
443 B
YAML
18 lines
443 B
YAML
name: Deploy with Docker Compose
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: Pull changes
|
|
working-directory: /home/adamf/deploy/web_server
|
|
run: git pull origin main
|
|
|
|
- name: Run docker compose up
|
|
working-directory: /home/adamf/deploy/web_server
|
|
run: docker compose up -d --build --remove-orphans
|