[POA-2024] Add speakers and event schedule #7314
Workflow file for this run
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: test hugo | |
on: [pull_request] | |
env: | |
NODE_VERSION: 16 | |
HUGO_VERSION: 0.126.1 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Lint Filenames | |
uses: julie-ng/lowercase-linter@v1 | |
id: lint_filenames | |
continue-on-error: false | |
with: | |
path: "." | |
pr-comment: true | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
test-linux: | |
needs: lint | |
name: Build hugo on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true # Fetch Hugo themes (true OR recursive) | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: ${{ env.HUGO_VERSION }} | |
extended: true | |
- name: Build Hugo | |
run: hugo --environment=production --minify --templateMetrics --logLevel info | |
# test-windows: | |
# needs: lint | |
# name: Build hugo on Windows | |
# runs-on: windows-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: | |
# submodules: true # Fetch Hugo themes (true OR recursive) | |
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
# - name: Setup Hugo | |
# uses: peaceiris/actions-hugo@v2 | |
# with: | |
# hugo-version: ${{ env.HUGO_VERSION }} | |
# - name: Build | |
# run: hugo -v |