We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2d9df7 commit fb6cc65Copy full SHA for fb6cc65
entrypoint.sh
@@ -24,10 +24,13 @@ BUNDLE_PATH=${WORKING_DIR}/vendor/bundle
24
25
echo "Starting the Jekyll Deploy Action"
26
27
-if [[ -z "${TOKEN}" && -z "${SSH_PRIVATE_KEY}" ]]; then
28
- echo "Please set the TOKEN or SSH_PRIVATE_KEY environment variable."
29
- exit 1
30
-fi
+if [[ "${PROVIDER}" != "test" ]]; then
+ # Check if the token or SSH private key is set
+ if [[ -z "${TOKEN}" && -z "${SSH_PRIVATE_KEY}" ]]; then
+ echo "Please set the TOKEN or SSH_PRIVATE_KEY environment variable."
31
+ exit 1
32
+ fi
33
+if
34
35
# Check parameters and assign default values
36
if [[ "${PROVIDER}" == "github" ]]; then
0 commit comments