diff --git a/.gitea/workflows/github_mirror.yaml b/.gitea/workflows/github_mirror.yaml index 7922001..2eea2f4 100644 --- a/.gitea/workflows/github_mirror.yaml +++ b/.gitea/workflows/github_mirror.yaml @@ -18,13 +18,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 1 # <— wichtig: keine alte Historie - lfs: true # falls LFS-Dateien im aktuellen Commit liegen - - - name: Install git-lfs - run: | - sudo apt-get update - sudo apt-get install -y git-lfs - git lfs install - name: Add GitHub remote env: @@ -42,15 +35,3 @@ jobs: run: | # force ist i. d. R. nicht nötig; nur, wenn du auf GitHub main überschreiben willst git push mirror HEAD:refs/heads/main - - - name: Push LFS objects for current commit - env: - GH_USER: ${{ secrets.GH_USER }} - GH_TOKEN: ${{ secrets.GH_TOKEN }} - GH_OWNER: ${{ secrets.GH_OWNER }} - GH_REPO: ${{ secrets.GH_REPO }} - run: | - set -euo pipefail - REMOTE="https://${GH_USER}:${GH_TOKEN}@github.com/${GH_OWNER}/${GH_REPO}.git" - # Nur Objekte, die lokal vorhanden sind (durch lfs: true) – somit kein Altbestand - git lfs push "$REMOTE" --all