WIP: Build blog page using hugo
Some checks failed
Build blog / Explore-Gitea-Actions (push) Failing after 3s
Some checks failed
Build blog / Explore-Gitea-Actions (push) Failing after 3s
This commit is contained in:
parent
b8e7fafce2
commit
d107769212
14
.gitea/workflows/build.yaml
Normal file
14
.gitea/workflows/build.yaml
Normal 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
|
||||
|
@ -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
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
public/
|
||||
*.lock
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
5
archetypes/default.md
Normal file
@ -0,0 +1,5 @@
|
||||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
5
content/posts/my-first-post.md
Normal file
5
content/posts/my-first-post.md
Normal file
@ -0,0 +1,5 @@
|
||||
+++
|
||||
title = 'My First Post'
|
||||
date = 2025-01-17T00:26:28+01:00
|
||||
draft = true
|
||||
+++
|
4
hugo.toml
Normal file
4
hugo.toml
Normal file
@ -0,0 +1,4 @@
|
||||
baseURL = 'https://example.org/'
|
||||
languageCode = 'en-us'
|
||||
title = 'My New Hugo Site'
|
||||
theme = 'PaperMod'
|
1
themes/PaperMod
Submodule
1
themes/PaperMod
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 9f1f414be805a2f94e2f51bd4be2b365ff12386d
|
Loading…
x
Reference in New Issue
Block a user