mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
30 lines
660 B
YAML
30 lines
660 B
YAML
name: Build website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- renovate/**
|
|
|
|
jobs:
|
|
deploy-main:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout source
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
|
|
|
|
- name: Setup Latest Version of Hugo
|
|
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # tag=v2
|
|
with:
|
|
hugo-version: '0.107.0'
|
|
extended: true
|
|
|
|
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
|
|
- name: Build
|
|
shell: bash
|
|
run: |
|
|
hugo --minify --gc
|