Add deployment prep
All checks were successful
/ deploy (push) Successful in 13s

This commit is contained in:
Sangelo 2024-01-10 21:33:21 +01:00
parent e6f5bd2fd1
commit 391a393d8d

View file

@ -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/"