diff --git a/.gitea/workflows/bundle.yml b/.gitea/workflows/bundle.yml index 0e816bc..5521ca5 100644 --- a/.gitea/workflows/bundle.yml +++ b/.gitea/workflows/bundle.yml @@ -3,16 +3,19 @@ name: bundle on: workflow_dispatch: schedule: - - cron: "22 9 * * *" # daily 09:22 UTC + - cron: "22 9 * * *" jobs: bundle: runs-on: [debian-13] steps: - - name: Checkout knoxmakers-inkscape - uses: actions/checkout@v4 - with: - fetch-depth: 0 + - name: Checkout knoxmakers-inkscape (plain git) + run: | + set -euo pipefail + rm -rf .git || true + rm -rf ./* ./.??* || true + git clone --depth 1 https://git.knoxmakers.org/KnoxMakers/knoxmakers-inkscape.git . + git checkout main - name: Configure git identity run: | @@ -23,7 +26,7 @@ jobs: run: | bash scripts/bundle.sh - - name: Push (if a bundle update commit was created) + - name: Push (if bundle update commit was created) env: HAXBOT_TOKEN: ${{ secrets.HAXBOT_TOKEN }} run: | @@ -34,4 +37,3 @@ jobs: else echo "No update commit created." fi -