Compare commits
10 Commits
153c20030e
...
aa84eb7908
| Author | SHA1 | Date | |
|---|---|---|---|
| aa84eb7908 | |||
| deb2d50115 | |||
| 587c2dcc2a | |||
| 9a89964e46 | |||
| bf327c15ed | |||
| 0d21e47b5a | |||
| 6b66c5ca85 | |||
| 48198148d2 | |||
| 3dba84916e | |||
| b4a0ab61f4 |
42
.gitea/workflows/deploy.yaml
Normal file
42
.gitea/workflows/deploy.yaml
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
name: Deploy
|
||||||
|
run-name: ${{ gitea.actor }} is deploying ${{ gitea.repository }}
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: docker.gitea.com/runner-images:ubuntu-latest
|
||||||
|
volumes:
|
||||||
|
- /opt/hugo/rpg.post-self.ink:/opt/hugo/rpg.post-self.ink
|
||||||
|
env:
|
||||||
|
DART_SASS_VERSION: 1.98.0
|
||||||
|
steps:
|
||||||
|
- name: Check out repo
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
submodules: 'true'
|
||||||
|
|
||||||
|
- name: Install Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v3
|
||||||
|
with:
|
||||||
|
hugo-version: '0.157.0'
|
||||||
|
extended: true
|
||||||
|
|
||||||
|
- name: Install Dart Sass
|
||||||
|
run: |
|
||||||
|
curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
|
||||||
|
&& tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
|
||||||
|
&& cp -r dart-sass/* /usr/local/bin \
|
||||||
|
&& rm -rf dart-sass* \
|
||||||
|
&& sass --embedded --version
|
||||||
|
|
||||||
|
- name: Build site
|
||||||
|
run: |
|
||||||
|
hugo build --gc --minify --baseURL https://rpg.post-self.ink --destination /opt/hugo/rpg.post-self.ink
|
||||||
|
|
||||||
|
- name: Set permissions
|
||||||
|
run: chown -R www-data:www-data /opt/hugo/rpg.post-self.ink
|
||||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.hugo_build.lock
|
||||||
|
content/perfect-edition
|
||||||
|
public
|
||||||
|
resources/_gen
|
||||||
@ -6,14 +6,14 @@ paginatePath = ""
|
|||||||
disablePathToLower = true
|
disablePathToLower = true
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
post = '/:filename/'
|
post = '/:contentbasename/'
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
author = 'Madison Scott-Clary'
|
author = 'Madison Scott-Clary'
|
||||||
home = 'https://makyo.ink'
|
home = 'https://makyo.ink'
|
||||||
copyright = 2021
|
copyright = 2021
|
||||||
customCSS = ['/css/rpg.css']
|
customCSS = ['/css/rpg.css']
|
||||||
subtitle = ''
|
subtitle = 'A Post-Self Project'
|
||||||
subtitleLink = 'https://post-self.ink'
|
subtitleLink = 'https://post-self.ink'
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
title: Coming soon!
|
||||||
---
|
---
|
||||||
|
|
||||||
|
# Coming soon!
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
6
netlify.toml
Normal file
6
netlify.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[build]
|
||||||
|
command = "hugo"
|
||||||
|
publish = "public"
|
||||||
|
|
||||||
|
[build.environment]
|
||||||
|
HUGO_VERSION = "0.127.0"
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 115 KiB |
BIN
static/slow-charsheet.png
Normal file
BIN
static/slow-charsheet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 239 KiB |
Submodule themes/maddybook updated: d67599865d...b3a328e733
Reference in New Issue
Block a user