-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
891161a
commit 67e6e45
Showing
11 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build and deploy to neocities | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: # prevent concurrent deploys doing strange things | ||
group: deploy-to-neocities | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: '0.135.0' | ||
# extended: true | ||
|
||
- name: Build | ||
run: hugo --minify | ||
|
||
- name: Deploy to neocities | ||
uses: bcomnes/deploy-to-neocities@v1 | ||
with: | ||
api_token: ${{ secrets.NEOCITIES_API_TOKEN }} | ||
cleanup: false | ||
dist_dir: ./public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "themes/typo"] | ||
path = themes/typo | ||
url = https://github.com/tomfran/typo.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,61 @@ | ||
baseURL = 'https://example.org/' | ||
languageCode = 'en-us' | ||
title = 'My New Hugo Site' | ||
baseURL = 'https://prophetarmed.com/' | ||
languageCode = 'en-gb' | ||
title = 'Prophet Armed Blog' | ||
theme = 'typo' | ||
|
||
# [taxonomies] | ||
# tag = 'tags' | ||
# | ||
# # Google analytics code | ||
# googleAnalytics = "G-xxxxxxxxx" | ||
|
||
[params] | ||
# Meta description | ||
description = "Blog for Revolutionary Politics & Technology" | ||
|
||
# Appearance settings | ||
theme = 'auto' | ||
colorPalette = 'default' | ||
hideHeader = false | ||
|
||
# Intro on main page, content is markdown | ||
homeIntroTitle = 'Welcome' | ||
homeIntroContent = """ | ||
Welcome to Prophet Armed. This is the website for anything to do with communist politics or technology (usually focused around FOSS) that I feel like writing about. | ||
""" | ||
|
||
# TODO: uncomment when I have posts | ||
# Collection to display on home | ||
# homeCollectionTitle = 'Posts' | ||
# homeCollection = 'posts' | ||
|
||
# Lists parameters | ||
paginationSize = 100 | ||
listSummaries = true | ||
listDateFormat = '2 Jan 2006' | ||
|
||
# Breadcrumbs | ||
breadcrumbs = true | ||
|
||
# Social icons | ||
[[params.social]] | ||
name = "github" | ||
url = "https://github.com/prophetarmed" | ||
|
||
# Main menu pages | ||
[[params.menu]] | ||
name = "home" | ||
url = "/" | ||
|
||
# [[params.menu]] | ||
# name = "posts" | ||
# url = "/posts" | ||
# | ||
# [[params.menu]] | ||
# name = "about" | ||
# url = "/about" | ||
|
||
# Syntax highligth on code blocks | ||
[markup] | ||
[markup.highlight] | ||
style = 'algol' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.