chore: update deploy workflow
This commit is contained in:
11
.github/workflows/deploy.yml
vendored
11
.github/workflows/deploy.yml
vendored
@@ -21,17 +21,6 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Fetch homepage config from node jail
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
mkdir -p content/.indiekit
|
||||
ssh -p 222 -o StrictHostKeyChecking=no \
|
||||
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
|
||||
"sudo bastille cmd node cat /usr/local/indiekit/content/.indiekit/homepage.json" \
|
||||
> content/.indiekit/homepage.json
|
||||
|
||||
- name: Build CSS
|
||||
run: npm run build:css
|
||||
|
||||
|
||||
Reference in New Issue
Block a user