Skip to content

Merge pull request #230 from 7h0mas-R/patch-1 #75

Merge pull request #230 from 7h0mas-R/patch-1

Merge pull request #230 from 7h0mas-R/patch-1 #75

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.83.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 }}