From ad75318a110f6ef830f9d038ca8ebb94a7df5ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Tue, 19 Sep 2023 21:55:39 +0200 Subject: [PATCH] Use base64 encoded content as wulkanowy-gac.json source --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3c1f2e4..8d82b10 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,8 +17,11 @@ jobs: envkey_DB_HOST: "db" envkey_TOKEN: ${{ secrets.TOKEN }} envkey_GOOGLE_APPLICATION_CREDENTIALS: "app/wulkanowy-gac.json" - - name: Create File - run: echo "${{ secrets.GAC_CONTENT }}" > wulkanowy-gac.json + - name: Create GAC file + uses: timheuer/base64-to-file@v1 + with: + fileName: "wulkanowy-gac.json" + encodedString: ${{ secrets.GAC_CONTENT }} - uses: alex-ac/github-action-ssh-docker-compose@master name: Docker-Compose Remote Deployment with: