File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,3 +112,11 @@ jobs:
112112 MANTLE_OPEN_CLOUD_API_KEY : ${{ secrets.MANTLE_OPEN_CLOUD_API_KEY }}
113113 MANTLE_AWS_ACCESS_KEY_ID : ${{ secrets.MANTLE_AWS_ACCESS_KEY_ID }}
114114 MANTLE_AWS_SECRET_ACCESS_KEY : ${{ secrets.MANTLE_AWS_SECRET_ACCESS_KEY }}
115+
116+ # Turn off the VPN after deployment to speed up action completion
117+ - name : Post WireGuard Connection
118+ if : always()
119+ run : |
120+ sudo wg-quick down ./wg0.conf
121+ sudo rm -f ./wg0.conf
122+ shell : bash
Original file line number Diff line number Diff line change @@ -116,6 +116,14 @@ jobs:
116116 MANTLE_AWS_ACCESS_KEY_ID : ${{ secrets.MANTLE_AWS_ACCESS_KEY_ID }}
117117 MANTLE_AWS_SECRET_ACCESS_KEY : ${{ secrets.MANTLE_AWS_SECRET_ACCESS_KEY }}
118118
119+ # Turn off the VPN after deployment to speed up action completion
120+ - name : Post WireGuard Connection
121+ if : always()
122+ run : |
123+ sudo wg-quick down ./wg0.conf
124+ sudo rm -f ./wg0.conf
125+ shell : bash
126+
119127 tag :
120128 runs-on : ubuntu-latest
121129 needs : deploy
You can’t perform that action at this time.
0 commit comments