.
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
name: Deploy ArrStack
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'ArrStack/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Sync ArrStack to Host
|
||||||
|
uses: appleboy/scp-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
source: "ArrStack/*"
|
||||||
|
target: "/opt/Docker-Deployments/ArrStack"
|
||||||
|
strip_components: 1
|
||||||
|
|
||||||
|
- name: Deploy ArrStack Stack
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
script: |
|
||||||
|
cd /opt/Docker-Deployments/ArrStack
|
||||||
|
docker compose up -d --remove-orphans
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
name: Deploy Ittools
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'Ittools/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Sync Ittools to Host
|
||||||
|
uses: appleboy/scp-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
source: "Ittools/*"
|
||||||
|
target: "/opt/Docker-Deployments/Ittools"
|
||||||
|
strip_components: 1
|
||||||
|
|
||||||
|
- name: Deploy Ittools Stack
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
script: |
|
||||||
|
cd /opt/Docker-Deployments/Ittools
|
||||||
|
docker compose up -d --remove-orphans
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
name: Deploy Mealie
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'Mealie/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Sync Mealie to Host
|
||||||
|
uses: appleboy/scp-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
source: "Mealie/*"
|
||||||
|
target: "/opt/Docker-Deployments/Mealie"
|
||||||
|
strip_components: 1
|
||||||
|
|
||||||
|
- name: Deploy Mealie Stack
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
script: |
|
||||||
|
cd /opt/Docker-Deployments/Mealie
|
||||||
|
docker compose up -d --remove-orphans
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
name: Deploy Semaphore
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'Semaphore/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Sync Semaphore to Host
|
||||||
|
uses: appleboy/scp-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
source: "Semaphore/*"
|
||||||
|
target: "/opt/Docker-Deployments/Semaphore"
|
||||||
|
strip_components: 1
|
||||||
|
|
||||||
|
- name: Deploy Semaphore Stack
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: "192.168.2.13"
|
||||||
|
username: "miker"
|
||||||
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
script: |
|
||||||
|
cd /opt/Docker-Deployments/Semaphore
|
||||||
|
docker compose up -d --remove-orphans
|
||||||
Reference in New Issue
Block a user