mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-08-22 09:25:48 -05:00
one more warning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user