Skip to content

Update Hugo version in CI. #110

Update Hugo version in CI.

Update Hugo version in CI. #110

Workflow file for this run

name: build
on:
push:
branches:
- master
- robbymilo/hugo
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.133.1'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: netlify/actions/cli@master
with:
args: deploy --dir public --alias hugo-robbymilo
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}