deploy corr with shell
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: sudo bastille cmd node "cd /usr/local/indiekit && su -l indiekit -c 'git pull origin main && npm ci && sudo service indiekit restart'"
|
script: sudo bastille cmd node sh -c "cd /usr/local/indiekit && 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
|
||||||
# uses: appleboy/ssh-action@v0.1.10
|
# uses: appleboy/ssh-action@v0.1.10
|
||||||
|
|||||||
Reference in New Issue
Block a user