-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (26 loc) · 911 Bytes
/
mirror.yml
File metadata and controls
26 lines (26 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 }}