Maciej Krzyżanowski e1655375f8
All checks were successful
Build blog / build (push) Successful in 12s
Install newer hugo version
2025-01-17 01:20:28 +01:00

22 lines
564 B
YAML

name: Build blog
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: recursive
- run: sudo apt -qqy update
- run: sudo apt -qqy install wget
- run: wget https://github.com/gohugoio/hugo/releases/download/v0.141.0/hugo_0.141.0_linux-amd64.deb
- run: sudo dpkg -i hugo_0.141.0_linux-amd64.deb
- run: hugo
- uses: actions/upload-artifact@v3
with:
name: blog-public
path: public/