Add deploy step
This commit is contained in:
parent
c1364c05c4
commit
30f16af64c
1 changed files with 8 additions and 0 deletions
8
.github/workflows/publish.yaml
vendored
8
.github/workflows/publish.yaml
vendored
|
@ -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
|
||||||
|
|
Reference in a new issue