HenryV f690108de7
Some checks failed
Generate and upload hugo website / generate_and_uplaod_site (push) Failing after 1m24s
Testing workflow
2025-02-13 10:41:33 +01:00

27 lines
561 B
YAML

---
name: Generate and upload hugo website
on:
push:
jobs:
generate_and_uplaod_site:
runs-on: ubuntu-latest
steps:
- name: Update Packages
run: sudo apt update
- name: Install Go
run: sudo apt install golang-go -y
- name: Building Hugo
run: go install github.com/gohugoio/hugo@latest
- name: Check out repository code
uses: actions/checkout@v4
- name: Generate the website
run: go/bin/hugo ${{ gitea.workspace }}
- name: Test of files are there
run: ls ${{ gitea.workspace }}/public