Fix deploy workflow: remove invalid regex pattern and create CSS directory
All checks were successful
Deploy / Deploy to pre-production (push) Successful in 6s
All checks were successful
Deploy / Deploy to pre-production (push) Successful in 6s
- Remove invalid `-x '*/.*'` pattern that caused regex error - Add `mkdir -p assets/css` to create directory before uploading files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
46f615c88c
commit
a30ad47a62
1 changed files with 3 additions and 2 deletions
|
|
@ -26,8 +26,9 @@ jobs:
|
|||
set ftp:ssl-allow no
|
||||
open -u $USERNAME,$PASSWORD $PRODUCTION_HOST
|
||||
# Mirror everything except hidden files/folders and assets/css content
|
||||
mirror --reverse --verbose --ignore-time --parallel=10 -x '.*' -x '*/.*' -x 'assets/css/*' . .
|
||||
# Sync only style.css and style.css.map from assets/css
|
||||
mirror --reverse --verbose --ignore-time --parallel=10 -x '.*' -x 'assets/css/*' . .
|
||||
# Create assets/css directory and sync only style.css and style.css.map
|
||||
mkdir -p assets/css
|
||||
put assets/css/style.css -o assets/css/style.css
|
||||
put assets/css/style.css.map -o assets/css/style.css.map
|
||||
quit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue