Files
wiki/.github/workflows/deploy.yml
vorpax abc290e1e0
Some checks failed
Build and Push Docker Image - HEC IA Wiki / build-and-push (push) Failing after 1m0s
make the update manual
2026-02-02 11:04:42 +01:00

23 lines
534 B
YAML

name: Deploy Docker Image
on:
push:
branches:
- main
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy stack
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: cd "/home/${secrets.USERNAME}/docker/wiki-hecia" && git pull && docker compose -f compose.yaml pull && docker compose up -d