Auto-update structured_md (2026-04-11 18:54:53) #161
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Mirror to SourceCraft | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| mirror: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| fetch-depth: 0 | |
| - name: Install Git LFS | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y git-lfs | |
| git lfs install | |
| git lfs pull | |
| - name: Configure Git | |
| run: | | |
| git config --global user.email "github@actions" | |
| git config --global user.name "GitHub Actions" | |
| - name: Push to SourceCraft | |
| run: | | |
| git remote add mirror https://git:${SOURCECRAFT_TOKEN}@git.sourcecraft.dev/kagv13/hmp.git | |
| git push --mirror mirror | |
| env: | |
| SOURCECRAFT_TOKEN: ${{ secrets.SOURCECRAFT_TOKEN }} |