Skip to content

Commit 1eeca5f

Browse files
authored
Merge pull request #334 from gnosischain/feat/821-add-twingate-action
feat: add Twingate action to staging deploy workflow (#821)
2 parents d00f5b8 + ddde9a2 commit 1eeca5f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/bridge-explorer-develop-staging.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,18 @@ jobs:
163163
run: |
164164
gcloud components install gke-gcloud-auth-plugin
165165
166+
# Connect to Twingate to reach the GKE API server (MANs restricted)
167+
- name: Connect to Twingate
168+
uses: twingate/github-action@v1
169+
with:
170+
service-key: ${{ secrets.TWINGATE_SERVICE_KEY_STAGING }}
171+
166172
- name: Configure kubectl
167173
run: |
168174
gcloud container clusters get-credentials ${{ env.GKE_CLUSTER }} \
169175
--region ${{ env.GCP_REGION }} \
170-
--project ${{ env.GCP_PROJECT }}
176+
--project ${{ env.GCP_PROJECT }} \
177+
--internal-ip
171178
172179
- name: Verify deployment exists
173180
run: |

0 commit comments

Comments
 (0)