msfjarvis.dev/.github/workflows/build-test.yml
renovate[bot] 2799921e1c chore(deps): pin dependencies [staging] (#55)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-08 11:46:20 +05:30

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