🎉 initial commit #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
with: | |
# renovate: datasource=github-tags depName=golang/go | |
go-version: '1.21.4' | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
# renovate: datasource=github-releases depName=gohugoio/hugo | |
hugo-version: '0.120.4' | |
extended: true | |
- name: Build | |
working-directory: ./exampleSite | |
run: hugo --minify --themesDir ../.. --baseURL https://chrede88.github.io/qubt/ |