.gitea/workflows/dotnet-deploy.yml aktualisiert
Some checks failed
Build & Deploy .NET to 192.168.1.100 / build-and-deploy (push) Failing after 1m15s
Some checks failed
Build & Deploy .NET to 192.168.1.100 / build-and-deploy (push) Failing after 1m15s
This commit is contained in:
@@ -94,6 +94,6 @@ jobs:
|
|||||||
SERVICE_NAME: ${{ secrets.SERVICE_NAME }}
|
SERVICE_NAME: ${{ secrets.SERVICE_NAME }}
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/id_deploy -p "${SSH_PORT:-22}" "${SSH_USER}@${SSH_HOST}" \
|
ssh -i ~/.ssh/id_deploy -p "${SSH_PORT:-22}" "${SSH_USER}@${SSH_HOST}" \
|
||||||
"sudo systemctl daemon-reload && sudo systemctl restart '${SERVICE_NAME}' && sudo systemctl status --no-pager '${SERVICE_NAME}'"
|
"sudo -n /usr/bin/systemctl daemon-reload && sudo -n /usr/bin/systemctl restart '${SERVICE_NAME}' && sudo -n /usr/bin/systemctl status --no-pager '${SERVICE_NAME}'"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user