diff --git a/.github/workflows/deploy_pietervdvn.yml b/.github/workflows/deploy_pietervdvn.yml
index 9c566a61e..a548dc936 100644
--- a/.github/workflows/deploy_pietervdvn.yml
+++ b/.github/workflows/deploy_pietervdvn.yml
@@ -5,9 +5,11 @@ on:
- develop
- feature/*
- theme/*
+ - refactoring/*
jobs:
build:
runs-on: ubuntu-latest
+ if: ${{ github.actor != 'weblate' }}
steps:
- uses: actions/checkout@v2
diff --git a/.github/workflows/validate_translations.yml b/.github/workflows/validate_translations.yml
new file mode 100644
index 000000000..6f07d343a
--- /dev/null
+++ b/.github/workflows/validate_translations.yml
@@ -0,0 +1,37 @@
+name: Deployment on pietervdvn
+on:
+ pull_request
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ if: ${{ github.actor == 'weblate' }}
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: "16"
+ cache: "npm"
+ cache-dependency-path: package-lock.json
+
+ - name: install deps
+ run: npm ci
+ shell: bash
+
+ - name: create generated dir
+ run: mkdir ./assets/generated
+ shell: bash
+
+ - name: sync translations
+ run: npm run generate:translations
+ shell: bash
+
+ - name: generate layeroverview
+ run: npm run reset:layeroverview
+ shell: bash
+
+ - name: run tests
+ run: npm run test
+ shell: bash
diff --git a/.gitignore b/.gitignore
index 3eea34f06..41f172fe8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,7 @@ node_modules
scratch
assets/editor-layer-index.json
assets/generated/*
-assets/generated/images/*
+src/assets/generated/
public/*.webmanifest
/*.html
!/index.html
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 26b59e881..8e1ede94e 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -17,5 +17,6 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[svelte]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
- }
+ },
+ "editor.formatOnSave": true
}
diff --git a/404.html b/404.html
index 0ca7b4321..129c820db 100644
--- a/404.html
+++ b/404.html
@@ -49,7 +49,7 @@
Not found...
-
+