fixed vault and registry domain

This commit is contained in:
2025-01-13 22:44:45 +03:00
committed by devops
parent 9c9d8ae599
commit 12089d0968
3 changed files with 6 additions and 6 deletions

View File

@@ -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;