Skip to content

Commit

Permalink
fix(sync-template): typo in TEMPLATE_SYNC_IGNORE_FILE_PATH variables (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisHenri authored Dec 30, 2022
1 parent 96d29fe commit 67b630b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sync_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ debug "pull changes from template"
git pull "${SOURCE_REPO}" --allow-unrelated-histories --squash --strategy=recursive -X theirs
echo "::endgroup::"

if [ -s "${TEMPLATE_SYNC_IGNORE_FILE_NAME}" ]; then
if [ -s "${TEMPLATE_SYNC_IGNORE_FILE_PATH}" ]; then
echo "::group::restore ignore file"
info "restore the ignore file"
git reset "${TEMPLATE_SYNC_IGNORE_FILE_NAME}"
git checkout -- "${TEMPLATE_SYNC_IGNORE_FILE_NAME}"
git reset "${TEMPLATE_SYNC_IGNORE_FILE_PATH}"
git checkout -- "${TEMPLATE_SYNC_IGNORE_FILE_PATH}"
echo "::endgroup::"
fi

Expand Down

0 comments on commit 67b630b

Please sign in to comment.