update workflow
Build and Push Docker Image - HEC IA Wiki / build-and-push (push) Failing after 1m1s

This commit is contained in:
vorpax committed 2026-02-02 10:56:08 +01:00
1 parent 840910c6ee
commit d23d427440
2 files changed
+21 -8

No files matched your search

+1 -8
View File
@@ -47,11 +47,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Deploy stack
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: git pull && docker compose -f compose.yaml pull && docker compose up -d
+20
View File
@@ -0,0 +1,20 @@
name: Build and Push Docker Image - HEC IA Wiki
on:
push:
branches:
- main
- master
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