ttf
This commit is contained in:
parent
39283f63b6
commit
08ac35c8e5
|
@ -10,22 +10,20 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch repo
|
# - name: Fetch repo
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
with:
|
# with:
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
# submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Build
|
||||||
uses: https://github.com/peaceiris/actions-hugo@v2.6.0
|
uses: https://github.com/peaceiris/actions-hugo@v2.6.0
|
||||||
with:
|
with:
|
||||||
hugo-version: "0.110.0"
|
hugo-version: "0.110.0"
|
||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
- name: Build website
|
|
||||||
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 }}
|
||||||
|
|
Loading…
Reference in New Issue