Update python-app.yml
This commit is contained in:
parent
a1499423d2
commit
053fbacb61
1 changed files with 11 additions and 0 deletions
11
.github/workflows/python-app.yml
vendored
11
.github/workflows/python-app.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
|||
BOT_INSTAGRAM_TOTP: ${{ secrets.BOT_INSTAGRAM_TOTP }}
|
||||
BOT_KEY: ${{ secrets.BOT_KEY }}
|
||||
BOT_WEBHOOK_URL: ${{ secrets.BOT_WEBHOOK_URL }}
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -62,6 +63,16 @@ jobs:
|
|||
ls -al
|
||||
./gen-config.sh
|
||||
|
||||
- name: Add SSH private key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
- name: Start SOCKS proxy with SSH
|
||||
run: |
|
||||
ssh -D 9999 -f -N imnyang@imnya.ng
|
||||
echo "SOCKS proxy started"
|
||||
|
||||
- name: Run
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue