From c4b445db77319d7b062e3c6f6b588c37ed93127d Mon Sep 17 00:00:00 2001 From: Allan Date: Thu, 13 Jul 2023 20:47:09 +0100 Subject: [PATCH] chore: hook script fix + cat file --- .git-hooks/pre-commit | 2 +- .github/workflows/run-tests.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index 6e431bf..adce744 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -2,7 +2,7 @@ # Ensure lint is passing LINT=`sasjs lint` -if [[ "$LINT" != "✔ All matched files use @sasjs/lint code style!" ]]; then +if [[ "$LINT" != *"✔ All matched files use @sasjs/lint code style!" ]]; then echo "$LINT" echo "To commit in spite of these warnings, use the -n parameter." exit 1 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2bd6ba5..a87df32 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -62,6 +62,9 @@ jobs: - name: Add refresh token run: echo "REFRESH_TOKEN=${{secrets.SAS9_4GL_IO_REFRESH_TOKEN}}" >> .env.server + - name: show creds + run: cat .env.server + - name: Build & Deploy Project to SAS server run: npx @sasjs/cli cbd -t server