From dd353bd9a04c4431dc5b02ed3c9a7db33780f960 Mon Sep 17 00:00:00 2001 From: Lukas Nagel Date: Sat, 23 Nov 2024 15:54:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Updated=20release=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/HugoBuildAndDeploy.yaml | 9 +-------- .github/workflows/HugoBuildDev.yaml | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/HugoBuildAndDeploy.yaml b/.github/workflows/HugoBuildAndDeploy.yaml index 4fb03010..5ed4798f 100644 --- a/.github/workflows/HugoBuildAndDeploy.yaml +++ b/.github/workflows/HugoBuildAndDeploy.yaml @@ -85,12 +85,5 @@ jobs: # Checkout the repository - uses: actions/checkout@v3 - - name: Find and Replace - uses: jacobtomlinson/gha-find-replace@v3 - with: - find: "{{RUN_NUMBER}}" - replace: ${{ github.run_number }} - regex: false - # Deploy Kubernetes YAML - - run: kubectl apply -f ./deployment/Fachinformatiker-Prüfungsvorbereitung.yaml --kubeconfig ${{ steps.write_file.outputs.filePath }} + - run: helm upgrade --install fi-pv ./helm --kubeconfig ${{ steps.write_file.outputs.filePath }} --set runNumber=${{ github.run_number }} diff --git a/.github/workflows/HugoBuildDev.yaml b/.github/workflows/HugoBuildDev.yaml index 3ea6d808..f18b70d7 100644 --- a/.github/workflows/HugoBuildDev.yaml +++ b/.github/workflows/HugoBuildDev.yaml @@ -25,7 +25,7 @@ jobs: extended: true # Build the hugo repository - - run: hugo + - run: hugo -e development --baseURL "https://dev.fachinformatikerpruefungsvorbereitung.de" working-directory: ./${{ env.NAME }}/ # Zip the Artifact for GitHubPages deployment