Update main.yml

This commit is contained in:
Andre Beging
2021-03-05 22:55:03 +01:00
committed by GitHub
parent 9dfb6c7f9d
commit 452c6fd7af

View File

@@ -9,18 +9,18 @@ jobs:
build-deploy: build-deploy:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- name: Setup Hugo - name: Setup Hugo
uses: peaceiris/actions-hugo@v2.2.0 uses: peaceiris/actions-hugo@v2
with: with:
hugo-version: 'latest' hugo-version: '0.64.0'
- name: Build - name: Build
run: hugo --gc --cleanDestinationDir --baseURL https://ddwe.beging.de/ -v run: hugo --gc --cleanDestinationDir --baseURL https://ddwe.beging.de/ -v
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v2.4.0 uses: peaceiris/actions-gh-pages@v3
env: env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages PUBLISH_BRANCH: gh-pages