all repos — archie @ 6e15d559f7cb6044de7b9f3560dd36ff6f174053

A minimal Hugo Theme

.github/workflows/main.yml (view raw)

 1name: github pages
 2
 3on:
 4  push:
 5    branches:
 6    - site
 7
 8jobs:
 9  build-deploy:
10    runs-on: ubuntu-18.04
11    steps:
12    - uses: actions/checkout@master
13
14    - name: Setup Hugo
15      uses: peaceiris/actions-hugo@v2.2.0
16      with:
17        hugo-version: '0.58.3'
18
19    - name: Build
20      run: hugo --gc --minify --cleanDestinationDir
21
22    - name: Deploy
23      uses: peaceiris/actions-gh-pages@v2.4.0
24      env:
25        ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
26        PUBLISH_BRANCH: gh-pages
27        PUBLISH_DIR: ./public