Skip to content

Commit

Permalink
cicd: fix missing execute ssh command
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Nov 26, 2024
1 parent a9b7256 commit 5d08314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_with_git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
if [[ $HAS_PYTHON_CHANGE == true ]]; then
SSH_DEPLOY_COMMAND="$SSH_DEPLOY_COMMAND && ./restart-app.sh"
fi
ssh -i ${{env.SSH_KEY_FILE_PATH}} -o StrictHostKeyChecking=no ${{secrets.SSH_DEPLOY_USER}}@${{secrets.SSH_DEPLOY_HOST}}
ssh -i ${{env.SSH_KEY_FILE_PATH}} -o StrictHostKeyChecking=no ${{secrets.SSH_DEPLOY_USER}}@${{secrets.SSH_DEPLOY_HOST}} "$SSH_DEPLOY_COMMAND"
- name: Clean deploy key file
run: rm -rf ${{env.SSH_KEY_FILE_PATH}}
2 changes: 1 addition & 1 deletion web_viewer/device_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from aiohttp.aiohttp import web
def register(request: web.Request):
print(request.url)
print(request.path)

0 comments on commit 5d08314

Please sign in to comment.