WIP: Build blog page using hugo
Some checks failed
Build blog / Explore-Gitea-Actions (push) Failing after 3s

This commit is contained in:
Maciej Krzyżanowski 2025-01-17 00:52:46 +01:00
parent b8e7fafce2
commit d107769212
8 changed files with 34 additions and 19 deletions

View File

@ -0,0 +1,14 @@
name: Build blog
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install hugo
run: sudo apt install hugo
- name: Build blog
run: hugo

View File

@ -1,19 +0,0 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
public/
*.lock

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git

5
archetypes/default.md Normal file
View File

@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

View File

@ -0,0 +1,5 @@
+++
title = 'My First Post'
date = 2025-01-17T00:26:28+01:00
draft = true
+++

4
hugo.toml Normal file
View File

@ -0,0 +1,4 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'PaperMod'

1
themes/PaperMod Submodule

@ -0,0 +1 @@
Subproject commit 9f1f414be805a2f94e2f51bd4be2b365ff12386d