Skip to content

Commit

Permalink
add wireguard config to secret
Browse files Browse the repository at this point in the history
  • Loading branch information
owenowenisme committed Dec 10, 2024
1 parent 869675c commit cb1c7a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ jobs:
DEV_HOST: ${{ secrets.DEV_HOST }}
DEV_USERNAME: ${{ secrets.DEV_USERNAME }}
DEV_SSHKEY: ${{ secrets.DEV_SSHKEY }}
WIREGUARD_CONFIG: ${{ secrets.WIREGUARD_CONFIG }}
3 changes: 3 additions & 0 deletions .github/workflows/frontend-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
required: true
DEV_SSHKEY:
required: true
WIREGUARD_CONFIG:
required: true

env:
REGISTRY: ghcr.io
Expand All @@ -31,6 +33,7 @@ jobs:
- name: Connect to WireGuard
run: |
sudo wg-quick up pastexam-dev
- name: Check wireguard connection
run: |
Expand Down

0 comments on commit cb1c7a0

Please sign in to comment.