1 Commits

Author SHA1 Message Date
argoyle 79e7bb3474 ci: add KUBECONFIG_CONTENT secret to deploy job
dancefinder-app / build (pull_request) Failing after 4m8s
dancefinder-app / deploy-prod (pull_request) Has been skipped
2026-01-07 17:11:34 +01:00
+2 -7
View File
@@ -13,7 +13,7 @@ jobs:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Build and push
run: unset GITEA_TOKEN && build && push
@@ -28,12 +28,7 @@ jobs:
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
environment: prod
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- 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