Compare commits
3 Commits
39283f63b6
...
3361614b57
Author | SHA1 | Date |
---|---|---|
Digital Studium | 3361614b57 | |
Digital Studium | 7b6f7fad66 | |
Digital Studium | 08ac35c8e5 |
|
@ -17,15 +17,14 @@ jobs:
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: https://github.com/peaceiris/actions-hugo@v2.6.0
|
uses: https://github.com/peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: "0.110.0"
|
hugo-version: '0.110.0'
|
||||||
extended: true
|
|
||||||
|
|
||||||
- name: Build website
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
||||||
- name: Deploy to Server
|
- name: Deploy
|
||||||
uses: https://github.com/easingthemes/ssh-deploy@main
|
uses: https://github.com/easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
@ -33,4 +32,4 @@ jobs:
|
||||||
SOURCE: "public/"
|
SOURCE: "public/"
|
||||||
REMOTE_HOST: digitalstudium.com
|
REMOTE_HOST: digitalstudium.com
|
||||||
REMOTE_USER: root
|
REMOTE_USER: root
|
||||||
TARGET: /srv/digitalstudium.com
|
TARGET: /srv/digitalstudium.com
|
Loading…
Reference in New Issue