This commit is contained in:
parent
e6f5bd2fd1
commit
391a393d8d
1 changed files with 6 additions and 1 deletions
|
@ -24,6 +24,11 @@ jobs:
|
|||
- name: Build Hugo Site
|
||||
run: hugo
|
||||
|
||||
- name: Prepare Deployment
|
||||
run: |
|
||||
mv public/* .
|
||||
rmdir public
|
||||
|
||||
- name: Deploy to Host
|
||||
uses: https://github.com/appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
|
@ -32,5 +37,5 @@ jobs:
|
|||
key: ${{ secrets.SSH_PRIV_KEY }}
|
||||
passphrase: ${{ secrets.SSH_PASSPHRASE }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
source: "public/*"
|
||||
source: .
|
||||
target: "/var/www/wiki.lunivity.com/"
|
||||
|
|
Loading…
Reference in a new issue