Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-lew committed Jan 14, 2025
1 parent a8cc421 commit 24f46a8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:
# curl -L -o globalprotect-installer.zip https://globalprotect.example.com/download # Adjust URL accordingly
# unzip globalprotect-installer.zip
# sudo dpkg -i globalprotect-installer.deb

# gpclient connect vpngate.ntu.edu.sg

- name: Connect to GlobalProtect VPN
run: |
gpclient help
sudo -E gpclient connect --browser default vpngate.ntu.edu.sg
#!/usr/bin/expect
spawn gpclient connect vpngate.ntu.edu.sg
expect "Username:"
send "[email protected]\r"
expect "Password:"
send "${{ secrets.VPN_PASSWORD }}\r"
interact
# run: |
# echo "${{ secrets.VPN_PASSWORD }}" | sudo globalprotect connect --portal=your.school.vpn.portal --username="${{ secrets.VPN_USERNAME }}" --password="${{ secrets.VPN_PASSWORD }}" &
Expand Down

0 comments on commit 24f46a8

Please sign in to comment.