mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
2799921e1c
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
32 lines
719 B
YAML
32 lines
719 B
YAML
name: Build worker and website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- renovate/**
|
|
|
|
jobs:
|
|
deploy-main:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout source
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
|
|
|
- name: Setup Latest Version of Hugo
|
|
uses: peaceiris/actions-hugo@c03b5dbed22245418539b65eb9a3b1d5fdd9a0a6 # tag=v2
|
|
with:
|
|
hugo-version: '0.102.3'
|
|
extended: true
|
|
|
|
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # tag=v3
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
|
|
- name: Build
|
|
shell: bash
|
|
run: |
|
|
hugo --minify --gc
|
|
yarn install
|
|
yarn run build
|