Skip to content

Commit

Permalink
Update deployd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
superpollo2 authored Oct 21, 2024
1 parent 9ec2bed commit 8f91a7a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deployd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,21 @@ jobs:
- name: Install OpenVPN
run: sudo apt-get install openvpn



- name: Move the dir to configuration openvpn
run: |
sudo mv ./certs/ ${{secrets.PATH_DIR_OVPN}}
- name: Create credentials file
run: |
echo "${{secrets.USERNAMEVPN}}" > creds.txt
echo "${{secrets.PASSWORDVPN}}" >> creds.txt
- name: cd to certs and run openvpn
run: |
cd ${{secrets.PATH_DIR_OVPN}}/certs
sudo openvpn --config ${{ secrets.CERT}} &
sudo openvpn --config ${{ secrets.CERT}} --auth-user-pass creds.txt &
- name: Esperar 15 segundos
run: sleep 15
Expand Down

0 comments on commit 8f91a7a

Please sign in to comment.