added safeline

This commit is contained in:
Mike McFetridge
2026-07-26 09:35:02 -04:00
parent 2de1929975
commit cbca7f9866
3 changed files with 188 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
name: Deploy Safeline
on:
push:
branches:
- main
paths:
- 'Safeline/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Sync Safeline to Host
uses: appleboy/scp-action@master
with:
host: "192.168.2.13"
username: "miker"
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: "Safeline/*"
target: "/opt/Docker-Deployments/Safeline"
strip_components: 1
- name: Deploy Safeline Stack
uses: appleboy/ssh-action@master
with:
host: "192.168.2.13"
username: "miker"
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /opt/Docker-Deployments/Safeline
docker compose up -d --remove-orphans