Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 8 additions & 20 deletions .github/workflows/publish_to_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,15 @@ jobs:
packages/modules/web_themes/colors/source/package-lock.json
packages/modules/web_themes/koala/source/package-lock.json

- name: Finde geänderte Themes
id: changed
- name: Installiere Abhängigkeiten und baue alle Themes
run: |
git show --pretty="" --name-only HEAD \
| grep -E '^(packages/modules/display_themes/cards/source/|packages/modules/display_themes/colors/source/|packages/modules/web_themes/colors/source/|packages/modules/web_themes/koala/source/)' \
| awk -F/ '{print $4}' | sort -u > changed_themes.txt
cat changed_themes.txt

- name: Installiere Abhängigkeiten und baue geänderte Themes
run: |
while read theme; do
for base in $THEME_BASES; do
if [[ "$base" == *"$theme"* ]]; then
echo "Installiere und baue Theme: $theme"
cd "$base"
npm ci || npm install
npm run build
cd -
fi
done
done < changed_themes.txt
for base in $THEME_BASES; do
echo "Installiere und baue Theme: $base"
cd "$base"
npm ci || npm install
npm run build
cd -
done

- name: Commit und Push gebaute Themes
run: |
Expand Down
1 change: 1 addition & 0 deletions packages/modules/display_themes/cards/source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

This is the "Cards" display theme for openWB 2.x.


## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
Expand Down
1 change: 1 addition & 0 deletions packages/modules/web_themes/koala/source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Koala web theme for openWB




## Install the dependencies

```bash
Expand Down