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