mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-01 21:10:13 +00:00
fix: use sudo for systemctl commands in deploy
This commit is contained in:
parent
3114775aa9
commit
a40be03963
1 changed files with 2 additions and 2 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue