update: only build when apps changes
This commit is contained in:
@@ -5,6 +5,28 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- staging
|
- staging
|
||||||
|
paths:
|
||||||
|
- 'app/**'
|
||||||
|
- 'pages/**'
|
||||||
|
- 'components/**'
|
||||||
|
- 'lib/**'
|
||||||
|
- 'public/**'
|
||||||
|
- '**/*.js'
|
||||||
|
- '**/*.jsx'
|
||||||
|
- '**/*.ts'
|
||||||
|
- '**/*.tsx'
|
||||||
|
- 'next.config.js'
|
||||||
|
- 'next.config.mjs'
|
||||||
|
- 'package.json'
|
||||||
|
- 'package-lock.json'
|
||||||
|
- 'pnpm-lock.yaml'
|
||||||
|
- 'yarn.lock'
|
||||||
|
- 'tsconfig.json'
|
||||||
|
- 'jsconfig.json'
|
||||||
|
- 'Dockerfile'
|
||||||
|
- 'Dockerfile.*'
|
||||||
|
- '.dockerignore'
|
||||||
|
- '.gitea/workflows/build.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
|||||||
Reference in New Issue
Block a user