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
4 changed files with 35 additions and 7 deletions
+3 -2
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
@@ -25,9 +25,10 @@ jobs:
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
environment: prod
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Deploy
run: deploy prod
+27
View File
@@ -0,0 +1,27 @@
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates
file: Defaults.gitlab-ci.yml
stages:
- build
- deploy
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build:
stage: build
script:
- build
- push
deploy-to-prod:
stage: deploy
when: on_success
script:
- echo Deploy to PROD.
- deploy prod
environment:
name: prod
only:
- main
+4 -4
View File
@@ -44,7 +44,7 @@
"eslint-plugin-vue": "10.6.2",
"nuxt": "4.2.2",
"postcss-html": "1.8.0",
"sass": "1.97.2",
"sass": "1.97.1",
"stylelint": "16.26.1",
"stylelint-config-recommended-vue": "1.6.1",
"stylelint-config-standard": "39.0.1",
@@ -20063,9 +20063,9 @@
"license": "MIT"
},
"node_modules/sass": {
"version": "1.97.2",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.97.2.tgz",
"integrity": "sha512-y5LWb0IlbO4e97Zr7c3mlpabcbBtS+ieiZ9iwDooShpFKWXf62zz5pEPdwrLYm+Bxn1fnbwFGzHuCLSA9tBmrw==",
"version": "1.97.1",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.97.1.tgz",
"integrity": "sha512-uf6HoO8fy6ClsrShvMgaKUn14f2EHQLQRtpsZZLeU/Mv0Q1K5P0+x2uvH6Cub39TVVbWNSrraUhDAoFph6vh0A==",
"dev": true,
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -36,7 +36,7 @@
"eslint-plugin-vue": "10.6.2",
"nuxt": "4.2.2",
"postcss-html": "1.8.0",
"sass": "1.97.2",
"sass": "1.97.1",
"stylelint": "16.26.1",
"stylelint-config-recommended-vue": "1.6.1",
"stylelint-config-standard": "39.0.1",