mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
fix: use sudo for systemctl commands in deploy
This commit is contained in:
4
.github/workflows/deploy-demo-server.yml
vendored
4
.github/workflows/deploy-demo-server.yml
vendored
@@ -100,9 +100,9 @@ jobs:
|
||||
|
||||
# Swap and restart production service
|
||||
ssh -o StrictHostKeyChecking=no ${DEPLOY_USER}@${DEPLOY_HOST} "
|
||||
systemctl stop pulse &&
|
||||
sudo systemctl stop pulse &&
|
||||
mv /tmp/pulse-new /opt/pulse/bin/pulse &&
|
||||
systemctl start pulse
|
||||
sudo systemctl start pulse
|
||||
"
|
||||
|
||||
- name: Verify production
|
||||
|
||||
Reference in New Issue
Block a user