Skip to content

Commit d944811

Browse files
committed
Upgrade to Hugo
1 parent 962acee commit d944811

35 files changed

+384
-961
lines changed

.github/CODEOWNERS

-1
This file was deleted.

.github/deploy.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build w/ Hugo & deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
submodules: recursive # Fetch Hugo themes
15+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
16+
17+
- run: npm ci
18+
19+
- name: Build
20+
run: docker run --rm --volume $PWD:/src -w "/src" bwklein/hugo-asciidoctor ./build.sh
21+
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
26+
# or github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_branch: gh-pages
28+
publish_dir: ./public

.github/workflows/docs.yml

-27
This file was deleted.

.gitignore

-148
This file was deleted.

Gemfile

-13
This file was deleted.

Gemfile.lock

-19
This file was deleted.

LICENSE

-21
This file was deleted.

README.adoc

-64
This file was deleted.

archetypes/default.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

build.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
3+
# export PATH="$PWD/bin:$PATH"
4+
hugo --minify -v

config.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
baseURL = "http://example.org/"
2+
languageCode = "en-us"
3+
title = "Code Coffee Compendium"
4+
theme = "hugo.386"

content/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello world!
File renamed without changes.

0 commit comments

Comments
 (0)