Add deploy step

This commit is contained in:
Gabriel Augendre 2022-09-28 00:57:24 +02:00
parent c1364c05c4
commit 30f16af64c

View file

@ -22,3 +22,11 @@ jobs:
tags: crocmagnon/blog:latest tags: crocmagnon/blog:latest
build-args: | build-args: |
POETRY_OPTIONS=--no-dev 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