From db96d7c01c8dcc5ee57ae64de25ac9a864c2b17e Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Sat, 6 Feb 2021 20:47:46 +0300 Subject: [PATCH] Strict options and defaultss. --- .github/actions/build-docs/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/build-docs/action.yml b/.github/actions/build-docs/action.yml index 98a6ec0..cbb4517 100644 --- a/.github/actions/build-docs/action.yml +++ b/.github/actions/build-docs/action.yml @@ -13,6 +13,13 @@ inputs: NGROK_AUTH_TOKEN: description: 'Authentification token for ngrok' required: true + NGROK_REGION: + description: 'Region for ngrok session' + required: false + default: 'us' + NGROK_TIMEOUT: + description: 'Timeout in seconds for ngrok session' + default: 21500 runs: using: composite @@ -112,6 +119,7 @@ runs: - name: Start ngrok run: | + set -Eeuo pipefail printf "# Starting ngrok..." ./ngrok tcp 22 --log ".ngrok.log" --region "${{ inputs.NGROK_REGION }}" & printf " [DONE]\n\n"