Skip to content

Bump actions/checkout from 3 to 4 #11

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #11

Workflow file for this run

name: Tests
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.105.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with Hugo
run: |
hugo \
--minify \
--baseURL ${{ steps.pages.outputs.base_url }}