diff --git a/.gitea/workflows/deploy-ci.yaml b/.gitea/workflows/deploy-ci.yaml index 724c06e..60e9a81 100644 --- a/.gitea/workflows/deploy-ci.yaml +++ b/.gitea/workflows/deploy-ci.yaml @@ -17,7 +17,7 @@ jobs: steps: - name: Clone skins-template run: | - echo "Clone skins-template" + echo "Cloning skins-template..." git clone --quiet "${{ env.TEMPLATE_REPO_URL }}" --depth 1 template-repo cd template-repo git checkout --quiet HEAD -- "${{ env.TEMPLATE_REL_PATH }}" @@ -98,11 +98,11 @@ jobs: if ! git diff --cached --quiet; then latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || true) if [ -n "$latest_tag" ]; then - git push origin --delete tag "$latest_tag" || true - git tag -d "$latest_tag" || true + git push origin --delete tag "$latest_tag" >/dev/null 2>&1 || true + git tag -d "$latest_tag" >/dev/null 2>&1 || true fi git commit -m "Update CI" --quiet - git push origin HEAD:main --tags --force + git push origin HEAD:main --tags --force >/dev/null 2>&1 echo " → Updated and pushed $owner/$repo" else echo " → No changes detected for $owner/$repo" @@ -116,4 +116,3 @@ jobs: done < "$valid_repos_file" rm "$valid_repos_file" - echo "[Sync CI Complete]"