1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 22:14:35 +00:00

chore: hook script fix + cat file

This commit is contained in:
Allan
2023-07-13 20:47:09 +01:00
parent ebe764a7c0
commit c4b445db77
2 changed files with 4 additions and 1 deletions

View File

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

View File

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