Compare commits
13 Commits
153c20030e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ed9eea8e0d | |||
| 66d97c508b | |||
| 87fc9316c0 | |||
| 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,15 +6,18 @@ paginatePath = ""
|
||||
disablePathToLower = true
|
||||
|
||||
[permalinks]
|
||||
post = '/:filename/'
|
||||
post = '/:contentbasename/'
|
||||
|
||||
[params]
|
||||
author = 'Madison Scott-Clary'
|
||||
home = 'https://makyo.ink'
|
||||
copyright = 2021
|
||||
customCSS = ['/css/rpg.css']
|
||||
subtitle = ''
|
||||
subtitle = 'A Post-Self Project'
|
||||
subtitleLink = 'https://post-self.ink'
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[pagination]
|
||||
path = ""
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
---
|
||||
title: Coming soon!
|
||||
---
|
||||
|
||||
# Coming soon!
|
||||
|
||||

|
||||
|
||||
15
layouts/_partials/analytics.html
Normal file
15
layouts/_partials/analytics.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//analytics.makyo.io/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '11']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
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...c847f9bdad
Reference in New Issue
Block a user