1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-28 06:30:18 +00:00

Refactor Json Location (#3184)

This commit is contained in:
Michel Roegl-Brunner 2025-03-18 10:29:14 +01:00 committed by GitHub
parent b1bcdc3ce8
commit 35d5507b38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
323 changed files with 123 additions and 126 deletions

View File

@ -38,7 +38,7 @@
"website": [ "website": [
{ {
"fileStatus": null, "fileStatus": null,
"includeGlobs": ["frontend/**", "json/**"], "includeGlobs": ["frontend/**"],
"excludeGlobs": [] "excludeGlobs": []
} }
], ],
@ -59,7 +59,7 @@
"json": [ "json": [
{ {
"fileStatus": "modified", "fileStatus": "modified",
"includeGlobs": ["json/**"], "includeGlobs": ["frontend/public/json/**"],
"excludeGlobs": [] "excludeGlobs": []
} }
], ],

View File

@ -7,14 +7,12 @@ on:
branches: ["main"] branches: ["main"]
paths: paths:
- frontend/** - frontend/**
- json/**
pull_request: pull_request:
branches: ["main"] branches: ["main"]
types: [opened, synchronize, reopened, edited] types: [opened, synchronize, reopened, edited]
paths: paths:
- frontend/** - frontend/**
- json/**
workflow_dispatch: workflow_dispatch:

View File

@ -5,7 +5,7 @@ on:
branches: branches:
- main - main
paths: paths:
- 'json/**.json' - 'frontend/public/json/**.json'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -49,7 +49,7 @@ jobs:
- name: Get Newly Added JSON Files - name: Get Newly Added JSON Files
id: new_json_files id: new_json_files
run: | run: |
git diff --name-only --diff-filter=A ${{ env.prev_commit }} HEAD | grep '^json/.*\.json$' > new_files.txt || true git diff --name-only --diff-filter=A ${{ env.prev_commit }} HEAD | grep '^frontend/public/json/.*\.json$' > new_files.txt || true
echo "New files detected:" echo "New files detected:"
cat new_files.txt || echo "No new files." cat new_files.txt || echo "No new files."
@ -87,7 +87,7 @@ jobs:
- name: Check if there are any changes - name: Check if there are any changes
run: | run: |
echo "Checking for changes..." echo "Checking for changes..."
git add -A # Untracked Dateien aufnehmen git add -A
git status git status
if git diff --cached --quiet; then if git diff --cached --quiet; then
echo "No changes detected." echo "No changes detected."

View File

@ -5,7 +5,7 @@ on:
paths: paths:
- "ct/*.sh" - "ct/*.sh"
- "install/*.sh" - "install/*.sh"
- "json/*.json" - "frontend/public/json/*.json"
jobs: jobs:
check-files: check-files:

View File

@ -1 +0,0 @@
../../json

Some files were not shown because too many files have changed in this diff Show More