Skip to content

Commit

Permalink
(fix) deployment on github pages (#2)
Browse files Browse the repository at this point in the history
#### Fixes

-  Fix `relref` in root index page by removing leading slash
-  Add step to install `postcss` before building `hugo`
  • Loading branch information
grandwizard28 authored Feb 21, 2024
2 parents 2f32c4c + f3e22d7 commit 8feec76
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ jobs:
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
@@ -41,6 +41,8 @@ jobs:
uses: actions/configure-pages@v4
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Install PostCSS
run: npm install -D autoprefixer postcss-cli postcss
- name: Build with Hugo
env:
HUGO_ENVIRONMENT: production
@@ -55,7 +57,6 @@ jobs:
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
2 changes: 1 addition & 1 deletion content/en/_index.html
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ <h4>An opinionated Cloud Native Directory Service</h4>
{{< blocks/section id="features" color="white" >}}

{{% blocks/feature image="/images/features/aletheia.svg" %}}
#### [Aletheia]({{< relref "/docs/" >}}), is an open-source system for running and managing a cloud native, production-grade Identity Datastore and Directory Service.
#### [Aletheia]({{< relref "/docs" >}}), is an open-source system for running and managing a cloud native, production-grade Identity Datastore and Directory Service.

It provides an suite of tools for running and administrating an Identity Datastore. Built and Tested at [Mudrex](https://mudrex.com), Aletheia builds upon the needs of an cloud native datastore combined with the best practices from the LDAP community.
{{% /blocks/feature %}}

0 comments on commit 8feec76

Please sign in to comment.