Compare commits

..

No commits in common. "1917099f70e300f7821c4a502596cbf0fec7cd35" and "ffae9f59e48c04ef5089f186289332a40690ba93" have entirely different histories.

2 changed files with 11 additions and 15 deletions

View File

@ -1,11 +1,10 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages
name: Deploy Hugo site to Pages & Neocities
on:
# Runs on pushes targeting the default branch
push:
branches:
- main
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@ -32,7 +31,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.141.0
HUGO_VERSION: 0.136.5
steps:
- name: Install Hugo CLI
run: |
@ -41,31 +40,28 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
HUGO_ENV: production
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Change color
run: sed -i 's/peachpuff/rebeccapurple/g' public/css/main.*.css
- name: Change URI
run: find public -type f -exec sed -i 's/\/\/fruw.org/\/\/fruworg.github.io/g' {} +
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v2
with:
path: ./public
@ -88,7 +84,7 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
path: .
- name: Create directory

View File

@ -67,6 +67,6 @@ url = "/index.xml"
weight = 3
[[menu.main]]
name = "dn42"
url = "https://dn42.fruw.org"
name = "webring"
url = "/webring.html"
weight = 4