From a4bdf439ecce7496986e3dbf40149a6afe3ea649 Mon Sep 17 00:00:00 2001 From: tooomm Date: Wed, 2 Dec 2020 20:39:05 +0100 Subject: [PATCH] one more warning --- .ci/deploy.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/deploy.sh b/.ci/deploy.sh index b5edc206..e5ab0f35 100755 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -9,7 +9,7 @@ function doCompile { # Pull requests and commits to other branches shouldn't try to deploy, just build to verify if [[ ! -d $OUTPUT_PATH ]]; then mkdir "$OUTPUT_PATH" - echo "Skipping deploy; just doing a build." + echo "::warning::Not running from master... doing a build, but skipping deploy!" # Run our compile script and let user know in logs doCompile exit 0 @@ -24,9 +24,7 @@ fi cd "$OUTPUT_PATH" git config user.name github-actions git config user.email github-actions@github.com - -# We don't want the AllSets... waste of space -git add -A . + git commit -m "Deploy: ${GITHUB_SHA}" # push using built-in token