one more warning

This commit is contained in:
tooomm
2020-12-02 20:39:05 +01:00
committed by GitHub
parent aec3dd7618
commit a4bdf439ec

View File

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