diff --git a/.gitea/workflows/docker-build-and-push.yaml b/.gitea/workflows/docker-build-and-push.yaml index 266a696..e6113b9 100644 --- a/.gitea/workflows/docker-build-and-push.yaml +++ b/.gitea/workflows/docker-build-and-push.yaml @@ -34,7 +34,7 @@ jobs: - name: Import Secrets uses: hashicorp/vault-action@v2 with: - url: https://vault.project-rent-dev.com + url: https://vault.project-quest-dev.com token: ${{ secrets.VAULT_TOKEN }} secrets: | cicd/data/docker password | REGISTRY_PASSWORD ; diff --git a/.gitea/workflows/k8s-deploy.yml b/.gitea/workflows/k8s-deploy.yml index 4b2a2a5..c56124c 100644 --- a/.gitea/workflows/k8s-deploy.yml +++ b/.gitea/workflows/k8s-deploy.yml @@ -9,7 +9,7 @@ on: REGISTRY: required: true type: string - default: registry.project-rent-dev.com + default: registry.project-quest-dev.com PROD_NAMESPACE: required: true type: string @@ -69,7 +69,7 @@ jobs: - name: Export secrets for deploy run: | - if [ "${{ github.ref }}" == "refs/heads/main" ]; then + if [ "${{ github.ref }}" = "refs/heads/main" ]; then echo "NAMESPACE=${{ inputs.PROD_NAMESPACE }}" >> $GITHUB_ENV echo "VALUES_FILE=${{ inputs.PROD_VALUES_FILE }}" >> $GITHUB_ENV echo "KUBECONF=${{ inputs.PROD_KUBECONF_SECRET_PATH }}" >> $GITHUB_ENV @@ -82,7 +82,7 @@ jobs: - name: Import config of k8s uses: hashicorp/vault-action@v2 with: - url: https://vault.project-rent-dev.com + url: https://vault.project-quest-dev.com token: ${{ secrets.VAULT_TOKEN }} secrets: | ${{ env.KUBECONF }} | KUBECONFIG; diff --git a/.gitea/workflows/prisma-migrate.yaml b/.gitea/workflows/prisma-migrate.yaml index e18b156..efa6b59 100644 --- a/.gitea/workflows/prisma-migrate.yaml +++ b/.gitea/workflows/prisma-migrate.yaml @@ -33,7 +33,7 @@ jobs: - name: Export secrets for prisma run: | - if [ "${{ github.ref }}" == "refs/heads/main" ]; then + if [ "${{ github.ref }}" = "refs/heads/main" ]; then echo "PRISMA_DB_SECRET_PATH=${{ inputs.PROD_PRISMA_SECRET_DB_PATH }}" >> $GITHUB_ENV else echo "PRISMA_DB_SECRET_PATH=${{ inputs.DEV_PRISMA_SECRET_DB_PATH }}" >> $GITHUB_ENV @@ -42,7 +42,7 @@ jobs: - name: Import prisma db url uses: hashicorp/vault-action@v2 with: - url: https://vault.project-rent-dev.com + url: https://vault.project-quest-dev.com token: ${{ secrets.VAULT_TOKEN }} secrets: | ${{ env.PRISMA_DB_SECRET_PATH }} | PRISMA_DB_URL;