Skip to content

Commit 3a3d05b

Browse files
committedDec 19, 2021
Publish site
1 parent 6c1fa51 commit 3a3d05b

File tree

50 files changed

+2310
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2310
-0
lines changed
 

‎.github/workflows/site.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
workflow_dispatch:
3+
push:
4+
branches:
5+
- master
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Setup Hugo
14+
uses: peaceiris/actions-hugo@v2
15+
with:
16+
hugo-version: '0.83.1'
17+
18+
- name: Build
19+
run: hugo --minify
20+
working-directory: site
21+
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
if: github.ref == 'refs/heads/master'
25+
with:
26+
publish_dir: ./site/public
27+
github_token: ${{ secrets.GITHUB_TOKEN }}

‎site/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+

0 commit comments

Comments
 (0)
Please sign in to comment.