Skip to content

Commit

Permalink
cicd: fix chmod command
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Nov 26, 2024
1 parent 762492e commit a5a5317
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 @@ -38,7 +38,7 @@ jobs:
echo "kill \$(ps | grep app.py | grep -v grep | awk '{print \$1}') && nohup python app.py &" >> ${{env.SSH_COMMAND_FILE}}
fi
cat ${{env.SSH_COMMAND_FILE}}
chomd +x ${{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}}"
rm -rf ${{env.SSH_COMMAND_FILE}}
- name: Clean deploy key file
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 a5a5317

Please sign in to comment.