22 lines
465 B
YAML
22 lines
465 B
YAML
---
|
|
name: Generate and upload hugo website
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
generate_and_uplaod_site:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Go
|
|
run: sudo apt install -y go
|
|
|
|
- name: Preparing the Go compiler
|
|
run: echo 'CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest'
|
|
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: List files in the repository
|
|
run: ls ${{ gitea.workspace }}
|
|
|