Skip to content

Commit e1b0d73

Browse files
authored
restore
1 parent 827ea75 commit e1b0d73

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/pipeline.yml

+15
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,21 @@ jobs:
131131
steps:
132132
- name: Checkout repo 📦
133133
uses: actions/checkout@v4
134+
- name: Install OpenVPN
135+
run: |
136+
sudo apt update
137+
sudo apt install -y openvpn openvpn-systemd-resolved
138+
- name: Touch OVPN client-config file
139+
run: touch client.ovpn
140+
- name: Fill OVPN client-config file
141+
run: |
142+
echo "${{ secrets.VPN_OVPN_FILE }}" >> client.ovpn
143+
- name: Connect to VPN 🔓
144+
uses: "kota65535/github-openvpn-connect-action@v3"
145+
with:
146+
config_file: client.ovpn
147+
username: ${{ secrets.VPN_USERNAME }}
148+
password: ${{ secrets.VPN_PASSWORD }}
134149
- name: Installing SSH key 🔑
135150
uses: UnterrainerInformatik/setup-ssh-action@v1
136151
with:

0 commit comments

Comments
 (0)