Skip to content

Bump themes/hugo-coder from e35f1da to cb6f1a7 #139

Bump themes/hugo-coder from e35f1da to cb6f1a7

Bump themes/hugo-coder from e35f1da to cb6f1a7 #139

Workflow file for this run

name: build-site
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: checkout submodules
run: git submodule update --init --recursive
- name: setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.117.0"
extended: true
- name: build
run: hugo --minify
- name: run lighthouse ci
uses: treosh/lighthouse-ci-action@10.1.0
with:
configPath: "./lighthouserc.json"
temporaryPublicStorage: true
uploadArtifacts: true
- name: push changes
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Build site for $GITHUB_HEAD_REF" || true
git push -f origin $GITHUB_HEAD_REF || true