Skip to content

atomicvest/ovpn3-connect-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Based on "golfzaptw/action-connect-ovpn#36 (comment)"

Preparing repo secrets:

  • OVPN_CONFIG: copy your raw .ovpn config to this secret - it cant reference any other cert,secret, or tls files - i.e. must be self-contained
  • OVPN_USER: copy your username (if applicable) to this secret - NO NEWLINE
  • OVPN_PASS: copy your password (if applicable) to this secret - NO NEWLINE

Usage:

- name: Connect VPN
  uses: aduriseti/ovpn3-connect-action@v1
  with:
    ovpn-config:  ${{ secrets.OVPN_CONFIG }}
    vpn-user:     ${{ secrets.VPN_USER }}
    vpn-pass:     ${{ secrets.VPN_PASS }}
.........
USE VPN CONNECTION HERE
.........
- name: Kill VPN Connection
  if: always()
  run: |
    sudo pkill openvpn  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published