From 998a223f6a9a0c5d25917cdee7d2da41f6f1f879 Mon Sep 17 00:00:00 2001 From: Daniel Soukup Date: Sat, 13 Jan 2024 21:14:12 -0500 Subject: [PATCH] update testing workflow --- .github/workflows/build-deploy.yml | 4 +++- .github/workflows/test.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 0f27fb0..cc9b4f0 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -13,8 +13,10 @@ jobs: uses: actions/checkout@v3 - name: Add API key from secret + env: + TOKEN: ${{ secrets.TOKEN }} run: | - cat "API_TOKEN=${{ secrets.TOKEN }}" > config.env + echo "API_TOKEN=$(TOKEN)" > config.env - name: Docker build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cee44f2..9c8e180 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,5 +35,5 @@ jobs: env: TOKEN: ${{ secrets.TOKEN }} run: | - cat "API_TOKEN=${{ secrets.TOKEN }}" > config.env + echo "API_TOKEN=$(TOKEN)" > config.env pytest .