Mirror #130
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 | |
| on: | |
| schedule: | |
| - cron: "0 */6 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| linux_pkgbuild: | |
| name: linux_pkgbuild | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone linux PKGBUILD | |
| run: git clone --bare https://gitlab.archlinux.org/archlinux/packaging/packages/linux.git . | |
| - name: Mirror linux PKGBUILD | |
| run: git push --mirror "https://token:$MIRRORING_TOKEN@github.com/ClangBuiltLinux/linux_pkgbuild.git" | |
| env: | |
| MIRRORING_TOKEN: ${{ secrets.MIRRORING_TOKEN }} | |
| rpms_kernel: | |
| name: rpms/kernel | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone rpms/kernel | |
| run: git clone --bare https://src.fedoraproject.org/rpms/kernel.git . | |
| - name: Mirror rpms/kernel | |
| run: git push --mirror "https://token:$MIRRORING_TOKEN@github.com/ClangBuiltLinux/rpms_kernel.git" | |
| env: | |
| MIRRORING_TOKEN: ${{ secrets.MIRRORING_TOKEN }} |