fix: Add keepalive. #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ci | |
on: | |
pull_request: | |
branches: [master] | |
# Cancel old PR builds when pushing new commits. | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
wireguard-vpn: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
sudo apt-get -y --no-install-recommends install wireguard | |
sudo sudo systemctl enable wg-quick@wg0.service | |
sudo sudo systemctl start wg-quick@wg0.service | |
#ping 10.100.0.1 | |
sleep 3 | |
sudo ifconfig wg0 | |
sudo wg show |