diff --git a/.github/workflows/lint-and-tests.yml b/.github/workflows/lint-and-tests.yml index 3df37b2..99ef5a0 100644 --- a/.github/workflows/lint-and-tests.yml +++ b/.github/workflows/lint-and-tests.yml @@ -2,9 +2,11 @@ name: Lint and Tests on: push: - branches: [ "master", "develop" ] + branches: [ "develop" ] + paths-ignore: [ "docs/**" ] pull_request: - branches: [ "master", "develop" ] + branches: [ "develop" ] + paths-ignore: [ "docs/**" ] permissions: contents: read diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index cbfd730..03f8d37 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -4,6 +4,7 @@ import starlight from '@astrojs/starlight'; // https://astro.build/config export default defineConfig({ + site: 'https://domainwatchdog.eu', integrations: [ starlight({ title: 'Domain Watchdog', diff --git a/package.json b/package.json index 8d2d064..b37e684 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,6 @@ "watch": "encore dev --watch", "build": "encore production --progress", "ttag:po2json": "cd translations; for i in $(find . -name \"*.po\"); do ttag po2json $i > ../public/locales/$i.json; done; cd ..", - "ttag:extract": "ttag extract $(find assets -name '*.ts' -or -name '*.tsx' | sort) -o translations/translations.pot" + "ttag:extract": "ttag extract $(find assets -name 'assets/*.ts' -or -name 'assets/*.tsx' | sort) -o translations/translations.pot" } } diff --git a/tsconfig.json b/tsconfig.json index 293c3ca..cc3c7f2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,7 @@ }, "exclude": [ "node_modules", + "docs", "vendor/**/*.ts" ] } \ No newline at end of file