👷 Add GitHub Pages workflow

pull/155/head
James Panther 2021-08-11 20:22:25 +10:00
parent b504fce034
commit 51e28ac437
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 32 additions and 2 deletions

30
.github/workflows/gh-pages.yml vendored 100644
View File

@ -0,0 +1,30 @@
name: GitHub Pages
on:
push:
branches:
- stable
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
working-directory: ./exampleSite
run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/Congo/
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.PersonalAccessToken }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./exampleSite/public

View File

@ -1,6 +1,6 @@
# Hugo Congo Theme # Congo
Congo is designed to be a lightweight and fast theme for Hugo. It's based upon Tailwind CSS with a clean and minimalist design. Congo is designed to be a fast, lightweight theme for Hugo. It's based upon Tailwind CSS with a clean and minimalist design.
## Features ## Features