ci: exclude docs path

This commit is contained in:
Maël Gangloff 2025-11-13 09:26:29 +01:00
parent f9805b6038
commit e5a28514c5
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
4 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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',

View File

@ -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"
}
}

View File

@ -11,6 +11,7 @@
},
"exclude": [
"node_modules",
"docs",
"vendor/**/*.ts"
]
}