Skip to content

Commit 18cc811

Browse files
committed
Update deploymentCD.yaml
1 parent 4a94bfc commit 18cc811

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploymentCD.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ jobs:
3636
VPN_USERNAME: ${{ secrets.VPN_USERNAME }}
3737
VPN_PASSWORD: ${{ secrets.VPN_PASSWORD }}
3838
run: |
39+
echo "${{ secrets.VPN_PROFILE_BASE64 }}" | base64 --decode > profile-559.ovpn
3940
echo -e "${VPN_USERNAME}\n${VPN_PASSWORD}" > vpn-auth.txt
4041
sudo openvpn --config profile-559.ovpn --auth-user-pass vpn-auth.txt --daemon
4142
sleep 10
4243
rm vpn-auth.txt
44+
rm profile-559.ovpn
4345
4446
- name: Deploy to Server
4547
uses: appleboy/[email protected]

0 commit comments

Comments
 (0)