Skip to content

Commit

Permalink
Move to custom domain for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Jan 11, 2024
1 parent 2cd5af9 commit 848b78a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ concurrency:

env:
FIRMWARES: home-assistant-glow
REPOSITORY: home-assistant-glow

jobs:
prepare:
Expand Down Expand Up @@ -97,7 +96,7 @@ jobs:
echo ${{ steps.esphome-build.outputs.version }} > output/${{ matrix.device }}/version
- name: 🔨 Alter path in manifest.json
run: |
sed -i 's/${{ steps.esphome-build.outputs.name }}\//\/${{ env.REPOSITORY }}\/${{ matrix.firmware }}\/${{ matrix.device }}\//g' output/${{ matrix.device }}/manifest.json
sed -i 's/${{ steps.esphome-build.outputs.name }}\//\/${{ matrix.firmware }}\/${{ matrix.device }}\//g' output/${{ matrix.device }}/manifest.json
- name: ⬆️ Upload firmware artifact
uses: actions/upload-artifact@v4.0.0
with:
Expand Down
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To make sure your meter will work with the Home Assistant Glow, you have to look

## Get Started

On the [documentation website](https://klaasnicolaas.github.io/home-assistant-glow/docs/introduction) you will find a complete walkthrough with which hardware you need, how to install the correct firmware on your ESP (using esp web tools) and how to add it to Home Assistant.
On the [documentation website](https://glow-energy.io/docs/introduction) you will find a complete walkthrough with which hardware you need, how to install the correct firmware on your ESP (using esp web tools) and how to add it to Home Assistant.

## Hardware

Expand All @@ -48,7 +48,7 @@ First, fill your 🛒 or see if you already have the components below.
- ESP8266 - [Banggood][esp8266-bg-shop] or [AliExpress][esp8266-ali-shop]
- Wemos D1 mini - [Banggood][wemos-d1-bg-shop] or [AliExpress][wemos-d1-ali-shop]
- [Dupont Jumpers][dupont-jumpers-shop]
- 3D printed case (see the [case](https://klaasnicolaas.github.io/home-assistant-glow/docs/reference/cases) folder)
- 3D printed case (see the [case](https://glow-energy.io/docs/reference/cases) folder)
- Photodiode: [Banggood][photodiode-bg-shop] or [AliExpress][photodiode-ali-shop] (make sure that you do not accidentally order or receive an LDR)
- LED RGB 5mm 4 pin - kathode: [Banggood][rgbled-bg-shop] or [AliExpress][rgbled-ali-shop]

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/2024-01-11-fresh-new-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The configuration YAML for the Home Assistant Glow is now split into multiple fi

### Documentation website

The previous website has been replaced with a comprehensive documentation website, accessible at [https://klaasnicolaas.github.io/home-assistant-glow](https://klaasnicolaas.github.io/home-assistant-glow/). This new website is built using [Docusaurus](https://docusaurus.io/), a static site generator widely used by various open source projects and hosted on GitHub Pages. It provides more space to present information in a structured format. Additionally, users can conveniently install firmware on their ESP directly from their browser using [ESP web tools](https://esphome.github.io/esp-web-tools/).
The previous website has been replaced with a comprehensive documentation website, accessible at [https://glow-energy.io](https://glow-energy.io). This new website is built using [Docusaurus](https://docusaurus.io/), a static site generator widely used by various open source projects and hosted on GitHub Pages. It provides more space to present information in a structured format. Additionally, users can conveniently install firmware on their ESP directly from their browser using [ESP web tools](https://esphome.github.io/esp-web-tools/).

### Configuration in UI

Expand Down
4 changes: 2 additions & 2 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const config: Config = {
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: `https://${organizationName}.github.io`,
url: 'https://glow-energy.io',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: `/${projectName}/`,
baseUrl: '/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down

0 comments on commit 848b78a

Please sign in to comment.