Skip to content

Mirror Repository #17669

Mirror Repository

Mirror Repository #17669

Workflow file for this run

name: Mirror Repository
on:
schedule:
# Runs at the start of every hour
- cron: '*/30 * * * *'
workflow_dispatch:
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout target repository
uses: actions/checkout@v2
with:
ref: 'repo'
- name: Sync with source repository
run: |
git fetch https://github.com/IntersectMBO/cardano-haskell-packages.git repo
git reset --hard FETCH_HEAD
git push --force-with-lease origin repo