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