Skip to content

Commit

Permalink
Create a mirroring workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
arthurzam committed Feb 8, 2025
0 parents commit bd59d86
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Sync with upstream
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
sync-mirror:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Update mirror
uses: projg2/crate-dist-mirror-action@v1
with:
ssh-private-key: ${{ secrets.ssh_key }}

0 comments on commit bd59d86

Please sign in to comment.