1
0
Fork 0
This commit is contained in:
Digital Studium 2023-05-09 15:42:43 +03:00
parent 7e4b06a217
commit 39283f63b6
1 changed files with 12 additions and 2 deletions

View File

@ -22,5 +22,15 @@ jobs:
hugo-version: "0.110.0"
extended: true
- name: Deploy website
run: ./deploy
- name: Build website
run: hugo --minify
- name: Deploy to Server
uses: https://github.com/easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "public/"
REMOTE_HOST: digitalstudium.com
REMOTE_USER: root
TARGET: /srv/digitalstudium.com