chore: update deploy.yml
This commit is contained in:
@@ -32,8 +32,7 @@ jobs:
|
|||||||
username: ${{ secrets.FREEBSD_DEPLOY_USER }}
|
username: ${{ secrets.FREEBSD_DEPLOY_USER }}
|
||||||
key: ${{ secrets.FREEBSD_DEPLOY_SSH_KEY }}
|
key: ${{ secrets.FREEBSD_DEPLOY_SSH_KEY }}
|
||||||
port: 222
|
port: 222
|
||||||
script: |
|
script: sudo bastille cmd node "cd /usr/local/indiekit && su -l indiekit -c 'git pull origin main && npm ci && sudo service indiekit restart'"
|
||||||
sudo bastille cmd node "su -l indiekit -c 'git pull origin main && npm ci && sudo service indiekit restart'"
|
|
||||||
|
|
||||||
# Optionally reload nginx on web jail
|
# Optionally reload nginx on web jail
|
||||||
# - name: Reload nginx
|
# - name: Reload nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user