ci: add KUBECONFIG_CONTENT secret to deploy job
dancefinder-app / build (pull_request) Successful in 1m9s
dancefinder-app / deploy-prod (pull_request) Has been skipped

This commit is contained in:
2026-01-07 20:56:35 +01:00
parent 418952b905
commit 5d09de55bf
+6
View File
@@ -25,9 +25,15 @@ jobs:
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
environment: prod
steps:
- uses: actions/checkout@v6
- uses: buildtool/setup-buildtools-action@v1
- name: Install aws-iam-authenticator
run: |
curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/latest/download/aws-iam-authenticator_linux_amd64
chmod +x aws-iam-authenticator
sudo mv aws-iam-authenticator /usr/local/bin/
- name: Deploy
run: deploy prod