Skip to content

Commit

Permalink
cicd: only add slash on first $
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Nov 26, 2024
1 parent c53462b commit 2fe0fd0
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 @@ -34,7 +34,7 @@ jobs:
fi
if [[ $HAS_PYTHON_CHANGE == true ]]; then
SSH_COMAND_DEPLOY="$SSH_COMAND_DEPLOY && kill \\$(ps | grep app.py | grep -v grep | awk '{print \$1}') && nohup python app.py &"
SSH_COMAND_DEPLOY="$SSH_COMAND_DEPLOY && kill \\$(ps | grep app.py | grep -v grep | awk '{print $1}') && nohup python app.py &"
fi
echo "$SSH_COMAND_DEPLOY"
ssh -i ${{env.SSH_KEY_FILE_PATH}} -o StrictHostKeyChecking=no ${{secrets.SSH_DEPLOY_USER}}@${{secrets.SSH_DEPLOY_HOST}} "$SSH_COMAND_DEPLOY"
Expand Down
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 2fe0fd0

Please sign in to comment.