We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d92159 commit 1c5b6d7Copy full SHA for 1c5b6d7
README.md
@@ -71,7 +71,7 @@ jobs:
71
- name: Update code on PythonAnywhere
72
run: |
73
curl -s -X POST \
74
- "https://www.pythonanywhere.com/api/v0/user/${{ secrets.PA_USERNAME }}/consoles/38366532/send_input/" \
+ "https://www.pythonanywhere.com/api/v0/user/${{ secrets.PA_USERNAME }}/consoles/${{secrets.PA_CONSOLE_NUMBER}}/send_input/" \
75
-H "Authorization: Token ${{ secrets.PA_API_TOKEN }}" \
76
-d '{"input": "git pull origin master\n"}' \
77
-H "Content-Type: application/json"
0 commit comments