Workflow config file is invalid. Please check your config file: yaml: line 26: could not find expected ':'
HenryV 5b7cf4e4d0
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Testing workflow
2025-02-13 10:30:10 +01:00

27 lines
553 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: hugo ${{ gitea.workspace }}
- name: Test of files are there
run ls ${{ gitea.workspace }}/public