Skip to content

Commit

Permalink
Add GH pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Sep 20, 2021
1 parent 06145f0 commit 5688c63
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: github pages

on:
push:
branches:
- main
pull_request:

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0

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

- name: Build
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
2 changes: 1 addition & 1 deletion content/authentication/qwc-db-auth.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "DB authentication service"
title = "DB Authentication Service"
menuTitle = "qwc-db-auth"
weight = 1
+++
Expand Down
2 changes: 1 addition & 1 deletion content/authentication/qwc-ldap-auth.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "LDAP authentication service"
title = "LDAP Authentication Service"
menuTitle = "qwc-ldap-auth"
weight = 2
+++
Expand Down
5 changes: 0 additions & 5 deletions content/services/qwc-print-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ weight = 7
+++


API documentation:

http://localhost:5019/api/


Configuration
-------------

Expand Down

0 comments on commit 5688c63

Please sign in to comment.