-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (32 loc) · 905 Bytes
/
testBuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Main Branch Build
on:
push:
branches:
- main
pull_request:
jobs:
build-deploy:
name: Test Build exampleSite
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
# renovate: datasource=github-tags depName=golang/go
go-version: '1.21.6'
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
# renovate: datasource=github-releases depName=gohugoio/hugo
hugo-version: '0.121.2'
extended: true
- name: Build
working-directory: ./exampleSite
run: hugo --minify --themesDir ../.. --baseURL https://chrede88.github.io/L1nkr/