Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Hugo to Github Pages #69

Merged
merged 2 commits into from
Nov 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/documentation-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: github pages

on:
push:
branches:
- master # Set a branch to deploy

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true

- name: Build
run: cd Docs && hugo --minify

- name: Deploy 🚀
uses: JamesIves/[email protected]
if: github.ref == 'refs/heads/master'
with:
branch: gh-pages # The branch the action should deploy to.
folder: Docs/docs # The folder the action should deploy.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ If you want to support this project, please consider making a donation:
[![Donate](https://www.mesen.ca/images/donate.png)](https://www.mesen.ca/Donate.php)

[Website (https://www.mesen.ca)](https://www.mesen.ca)
[Documentation](Docs/content/_index.md)
[Documentation](https://novasquirrel.github.io/Mesen-X/index.html)

## Development Builds

Expand Down