ci: shallow clone (depth 1) + fix dockerignore for Dockerfile.fast
- Change git clone depth from 50 to 1 (faster checkout) - Keep vendor/ and public/build/ in Docker context (needed by Dockerfile.fast)
This commit is contained in:
@@ -8,8 +8,8 @@ node_modules
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
|
||||
# Composer
|
||||
/vendor
|
||||
# Composer (NOT excluded - Dockerfile.fast needs pre-built vendor)
|
||||
# /vendor
|
||||
|
||||
# Environment
|
||||
.env
|
||||
@@ -58,7 +58,7 @@ docker-compose.*.yml
|
||||
# Build artifacts
|
||||
/public/hot
|
||||
/public/storage
|
||||
/public/build
|
||||
# /public/build - NOT excluded, Dockerfile.fast needs pre-built assets
|
||||
|
||||
# Misc
|
||||
.env.backup
|
||||
|
||||
@@ -23,7 +23,7 @@ clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
depth: 50
|
||||
depth: 1
|
||||
lfs: false
|
||||
partial: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user