fix: use bastille cmd to fetch homepage.json from node jail
SCP can't access the jail filesystem directly; use SSH + bastille cmd instead, same pattern as the node jail deploy workflow. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,9 +27,10 @@ jobs:
|
|||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
mkdir -p content/.indiekit
|
mkdir -p content/.indiekit
|
||||||
scp -P 222 -o StrictHostKeyChecking=no \
|
ssh -p 222 -o StrictHostKeyChecking=no \
|
||||||
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/usr/local/bastille/jails/node/root/usr/local/indiekit/content/.indiekit/homepage.json \
|
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
|
||||||
content/.indiekit/homepage.json
|
"sudo bastille cmd node cat /usr/local/indiekit/content/.indiekit/homepage.json" \
|
||||||
|
> content/.indiekit/homepage.json
|
||||||
|
|
||||||
- name: Build CSS
|
- name: Build CSS
|
||||||
run: npm run build:css
|
run: npm run build:css
|
||||||
|
|||||||
Reference in New Issue
Block a user