Skip to content

Commit 7789ba5

Browse files
committed
fix: checkout app repo instead of K8 cluster repo
1 parent 3099a42 commit 7789ba5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/k8s_test.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
environment: dev
2121
env:
2222
KUBELOGIN_VERSION: "v0.0.25"
23-
KUBERNETES_CLUSTER_REPO_NAME: ${{ vars.KUBERNETES_CLUSTER_REPO_NAME }}
2423
KUBERNETES_CLUSTER_NAME: "${{ vars.KUBERNETES_CLUSTER_NAME }}"
2524
KUBERNETES_NAMESPACE: "${{ vars.KUBERNETES_NAMESPACE }}"
2625
KUBERNETES_MANIFEST_PATH: "${{ vars.KUBERNETES_MANIFEST_PATH }}"
@@ -30,16 +29,12 @@ jobs:
3029
# Checkout the repository to the GitHub Actions runner
3130
- name: Checkout
3231
uses: actions/checkout@v4
33-
with:
34-
token: ${{ secrets.TOKEN_GITHUB }}
35-
repository: ${{ github.repository_owner }}/${{ env.KUBERNETES_CLUSTER_REPO_NAME }}
36-
ref: refs/heads/dev
3732

3833
- name: GitHub Configuration
3934
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
4035

4136
- name: Clone cicd-deployment-scripts
42-
run: git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git
37+
run: git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git
4338

4439
# Install the latest version of Kubernetes CLI and configure the Kubernetes CLI configuration file with a Kubernetes Cloud user API token
4540
- name: Azure Cloud Login

0 commit comments

Comments
 (0)