From b37050fb1e66ba2cabf9f2d67944fe54121c3296 Mon Sep 17 00:00:00 2001 From: sokari Date: Wed, 17 Apr 2024 10:05:47 +0100 Subject: [PATCH] fix: echo env and secrets in the GitHub action job --- .github/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6f6c02d..09b1c69 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,12 +24,19 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Write value to Properties-file - uses: christian-draeger/write-properties@1.1.0 env: MONGODB_URI: ${{ secrets.MONGODB_URI }} GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} GCLOUD_SERVICE_KEY: ${{secrets.GCLOUD_SERVICE_KEY}} + + - name: Use Secrets + run: | + echo "MONGODB URI: "$MONGODB_URI" + echo "GOOGLE CLIENT ID: "$GOOGLE_CLIENT_ID" + echo "GCLOUD SERVICE KEY: "$GCLOUD_SERVICE_KEY" + + - name: Write value to Properties-file + uses: christian-draeger/write-properties@1.1.0 with: path: './src/main/resources/application.properties' property: |