mirror of
https://github.com/arthur-pbty/visio.git
synced 2026-08-01 20:30:28 +02:00
add runner
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
name: Deploy Docker
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: self-hosted
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build & restart containers
|
||||||
|
run: |
|
||||||
|
docker compose down || true
|
||||||
|
docker compose build
|
||||||
|
docker compose up -d
|
||||||
Reference in New Issue
Block a user