Fix CSS files upload path in deploy workflow
Some checks failed
Deploy / Deploy to pre-production (push) Failing after 5s
Some checks failed
Deploy / Deploy to pre-production (push) Failing after 5s
Replace cd/lcd/mput commands with put using full paths to ensure style.css and style.css.map are correctly uploaded to assets/css/ directory instead of root. 🤖 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
44257321ca
commit
46f615c88c
1 changed files with 2 additions and 3 deletions
|
|
@ -28,9 +28,8 @@ jobs:
|
||||||
# Mirror everything except hidden files/folders and assets/css content
|
# Mirror everything except hidden files/folders and assets/css content
|
||||||
mirror --reverse --verbose --ignore-time --parallel=10 -x '.*' -x '*/.*' -x 'assets/css/*' . .
|
mirror --reverse --verbose --ignore-time --parallel=10 -x '.*' -x '*/.*' -x 'assets/css/*' . .
|
||||||
# Sync only style.css and style.css.map from assets/css
|
# Sync only style.css and style.css.map from assets/css
|
||||||
cd assets/css
|
put assets/css/style.css -o assets/css/style.css
|
||||||
lcd assets/css
|
put assets/css/style.css.map -o assets/css/style.css.map
|
||||||
mput style.css style.css.map
|
|
||||||
quit
|
quit
|
||||||
SCRIPT
|
SCRIPT
|
||||||
lftp -f /tmp/lftp-script.txt
|
lftp -f /tmp/lftp-script.txt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue