1
0
Fork 0
This commit is contained in:
Digital Studium 2023-05-09 15:45:05 +03:00
parent 39283f63b6
commit 08ac35c8e5
1 changed files with 8 additions and 10 deletions

View File

@ -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 }}