File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Deploy to GitHub Pages
22
33on :
4- # Runs on pushes to any branch to validate build
4+ # Runs on pushes to any branch to validate build (only when code changes)
55 push :
6+ paths :
7+ - ' src/**'
8+ - ' index.html'
9+ - ' package.json'
10+ - ' package-lock.json'
11+ - ' vite.config.ts'
12+ - ' vite.config.js'
13+ - ' vite.github-pages.config.ts'
14+ - ' vitest.config.ts'
15+ - ' tsconfig.json'
16+ - ' tailwind.config.js'
17+ - ' components.json'
18+ - ' build-for-gh-pages.sh'
19+ - ' build-for-pages.sh'
20+ - ' deploy-to-pages.sh'
21+ - ' deploy.sh'
22+ - ' .github/workflows/**'
23+ paths-ignore :
24+ - ' **.md'
25+ - ' LICENSE'
26+ - ' SECURITY.md'
627
7- # Runs on pull requests to validate build
28+ # Runs on pull requests to validate build (only when code changes)
829 pull_request :
30+ paths :
31+ - ' src/**'
32+ - ' index.html'
33+ - ' package.json'
34+ - ' package-lock.json'
35+ - ' vite.config.ts'
36+ - ' vite.config.js'
37+ - ' vite.github-pages.config.ts'
38+ - ' vitest.config.ts'
39+ - ' tsconfig.json'
40+ - ' tailwind.config.js'
41+ - ' components.json'
42+ - ' build-for-gh-pages.sh'
43+ - ' build-for-pages.sh'
44+ - ' deploy-to-pages.sh'
45+ - ' deploy.sh'
46+ - ' .github/workflows/**'
47+ paths-ignore :
48+ - ' **.md'
49+ - ' LICENSE'
50+ - ' SECURITY.md'
951
1052 # Allows you to run this workflow manually from the Actions tab
1153 workflow_dispatch :
You can’t perform that action at this time.
0 commit comments