Skip to content

Commit

Permalink
cicd: update ssh execute command
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Nov 26, 2024
1 parent 5e68ea6 commit 698f04f
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 @@ -39,7 +39,7 @@ jobs:
fi
cat ${{env.SSH_COMMAND_FILE}}
chmod +x ${{env.SSH_COMMAND_FILE}}
ssh -i ${{env.SSH_KEY_FILE_PATH}} -o StrictHostKeyChecking=no ${{secrets.SSH_DEPLOY_USER}}@${{secrets.SSH_DEPLOY_HOST}} ${{env.SSH_COMMAND_FILE}}
ssh -i ${{env.SSH_KEY_FILE_PATH}} -o StrictHostKeyChecking=no ${{secrets.SSH_DEPLOY_USER}}@${{secrets.SSH_DEPLOY_HOST}} 'bash -' < ${{env.SSH_COMMAND_FILE}}
rm -rf ${{env.SSH_COMMAND_FILE}}
- 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 698f04f

Please sign in to comment.