Commit 683cc12b authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

refactor: update.sh

parent 64c34006
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -5,15 +5,13 @@ git \
  https://github.com/dmitriysafronov/ansible_role-template.git \
  .update

if [[ -s .update/update.list ]]; then
  rsync -av \
  --include=.github/ \
  --include=.github/workflows/ \
  --include=.github/workflows/lint.yaml \
  --include=.requirements/* \
  --include=update.sh \
    --include-from=.update/update.list \
    --exclude=* \
    --delete-after \
    .update/ \
    ./
fi

rm -rf .update/