aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-04-06 21:39:36 +0200
committerEgor Tensin <egor@tensin.name>2026-04-06 21:39:39 +0200
commit1c9de2a2a18dce38229ea14552e44c8ee777fc0b (patch)
tree48263e5a95a1b5b0469d6af2198b50a94fb25892 /.github
parentworkflows/infra: add the LIMIT input (diff)
downloadmaintenance-1c9de2a2a18dce38229ea14552e44c8ee777fc0b.tar.gz
maintenance-1c9de2a2a18dce38229ea14552e44c8ee777fc0b.zip
workflows/infra: set up WireGuard
Since I now check for open ports on my hosts.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/infra.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml
index 4fd55a4..bbe1d4e 100644
--- a/.github/workflows/infra.yml
+++ b/.github/workflows/infra.yml
@@ -25,6 +25,15 @@ jobs:
DIGITALOCEAN_TOKEN: '${{ secrets.DIGITALOCEAN_TOKEN }}'
YC_SERVICE_ACCOUNT_KEY_FILE: '${{ secrets.YC_SERVICE_ACCOUNT_KEY_FILE }}'
steps:
+ - name: Set up WireGuard
+ uses: egor-tensin/setup-wireguard@v1
+ with:
+ endpoint: '${{ secrets.WG_ENDPOINT }}'
+ endpoint_public_key: '${{ secrets.WG_ENDPOINT_PUBLIC }}'
+ ips: '${{ secrets.WG_IPS }}'
+ allowed_ips: '${{ secrets.WG_ALLOWED_IPS }}'
+ private_key: '${{ secrets.WG_PRIVATE }}'
+ preshared_key: '${{ secrets.WG_PRESHARED }}'
- name: Set up Terraform
uses: hashicorp/setup-terraform@v4
- name: Configure SSH