Some checks failed
Generate and upload hugo website / generate_and_uplaod_site (push) Failing after 1m26s
30 lines
597 B
YAML
30 lines
597 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: Test
|
|
run: pwd
|
|
|
|
- name: Generate the website
|
|
run: ../go/bin/hugo ${{ gitea.workspace }}
|
|
|
|
- name: Test of files are there
|
|
run: ls ${{ gitea.workspace }}/public
|