mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
32 lines
578 B
YAML
32 lines
578 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@v3
|
|
|
|
- name: Setup Latest Version of Hugo
|
|
uses: peaceiris/actions-hugo@v2
|
|
with:
|
|
hugo-version: '0.102.2'
|
|
extended: true
|
|
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
|
|
- name: Build
|
|
shell: bash
|
|
run: |
|
|
hugo --minify --gc
|
|
yarn install
|
|
yarn run build
|