Compare commits

..

3 Commits

Author SHA1 Message Date
shamoon
1a46baae69 Bump version to 1.3.2 2025-06-01 11:58:58 -07:00
shamoon
0fa3d7e57b Fix: fix gluetun port_forwarded detection (#5362) 2025-06-01 11:58:44 -07:00
shamoon
be7e1115cc Allow ci for all changes to allow requiring checks to pass 2025-06-01 10:33:22 -07:00
4 changed files with 4 additions and 16 deletions

View File

@@ -9,14 +9,8 @@ on:
- feature/**
- dev
tags: [ 'v*.*.*' ]
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
pull_request:
branches: [ "dev" ]
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
merge_group:
env:

View File

@@ -4,13 +4,7 @@ on:
push:
tags: ["v*.*.*"]
branches: ["main"]
paths:
- "docs/**"
- "mkdocs.yml"
pull_request:
paths:
- "docs/**"
- "mkdocs.yml"
merge_group:
workflow_dispatch:
@@ -32,7 +26,7 @@ jobs:
uses: pre-commit/action@v3.0.1
test:
name: Test Build
name: Test Build Docs
if: github.repository == 'gethomepage/homepage' && github.event_name == 'pull_request'
runs-on: ubuntu-latest
needs:
@@ -54,7 +48,7 @@ jobs:
- name: Test Docs Build
run: MKINSIDERS=false mkdocs build
deploy:
name: Build & Deploy
name: Build & Deploy Docs
if: github.repository == 'gethomepage/homepage' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs:

View File

@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.3.1",
"version": "1.3.2",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",

View File

@@ -11,7 +11,7 @@ export default function Component({ service }) {
}
const { data: gluetunData, error: gluetunError } = useWidgetAPI(widget, "ip");
const includePF = !!widget.fields["port_forwarded"];
const includePF = widget.fields.includes("port_forwarded");
const { data: portForwardedData, error: portForwardedError } = useWidgetAPI(
widget,
includePF ? "port_forwarded" : "",