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