Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: github pages
- on:
- push:
- branches:
- - master
- jobs:
- build-deploy:
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@v1 # v2 does not have submodules option now
- # with:
- # submodules: true
- - name: Setup Hugo
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: '0.62.2'
- # extended: true
- - name: Build
- run: hugo --minify
- - name: Deploy
- uses: peaceiris/actions-gh-pages@v3
- with:
- deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
- publish_dir: ./public
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement