From 30f16af64cad9edd49dcd288ecd1cb79f115186d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 28 Sep 2022 00:57:24 +0200 Subject: [PATCH] Add deploy step --- .github/workflows/publish.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 34de2be..799ec77 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -22,3 +22,11 @@ jobs: tags: crocmagnon/blog:latest build-args: | POETRY_OPTIONS=--no-dev + - name: Deploy + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.DEPLOY_HOST }} + username: ${{ secrets.DEPLOY_USERNAME }} + key: ${{ secrets.DEPLOY_KEY }} + port: ${{ secrets.DEPLOY_PORT }} + script: /mnt/data/blog/update