2022-10-08 20:13:40 +05:30
|
|
|
name: Build website
|
2022-07-05 00:05:43 +05:30
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- renovate/**
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy-main:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout source
|
2023-10-19 15:52:41 +05:30
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
2022-07-05 00:05:43 +05:30
|
|
|
|
|
|
|
- name: Setup Latest Version of Hugo
|
2022-10-23 22:31:48 +05:30
|
|
|
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # tag=v2
|
2022-07-05 00:05:43 +05:30
|
|
|
with:
|
2024-03-20 17:50:55 +05:30
|
|
|
hugo-version: '0.124.1'
|
2022-07-05 00:05:43 +05:30
|
|
|
extended: true
|
|
|
|
|
2023-12-06 21:38:11 +05:30
|
|
|
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
|
2022-07-05 00:05:43 +05:30
|
|
|
with:
|
2022-07-23 13:42:45 +05:30
|
|
|
go-version-file: 'go.mod'
|
2022-07-05 00:05:43 +05:30
|
|
|
|
|
|
|
- name: Build
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
hugo --minify --gc
|