Commit f8b69380 authored by nanahira's avatar nanahira

skip in schedule run only

parent c8bc19a8
......@@ -19,6 +19,8 @@ check:
YGOPRO_SERVER_PATH: /ygopro-server/ygopro
SIZE_LIMIT_MB: 100
KEEP_PERIOD_DAYS: 30
IMG_WIDTH: 400
IMG_HEIGHT: 580
artifacts:
paths:
- dist
......
......@@ -94,6 +94,7 @@ process_repo() {
echo "## $repo_identifer" >> dist/strings.conf
cat workspace/$repo_identifer/strings.conf >> dist/strings.conf
fi
cp -rf workspace/$repo_identifer/pics dist/
cp -rf workspace/$repo_identifer/script dist/
echo "$last_commit_hash" > dist/hashes/$repo_identifer.txt
......@@ -113,7 +114,7 @@ for file in repos/*.txt; do
done < "$file"
done
if [[ $something_changed == 0 ]]; then
if [[ $something_changed == 0 ]] && [[ -n $SCHEDULED ]]; then
echo "No changes detected, skipping update"
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment