Skip to content

Mirror

Mirror #6

Workflow file for this run

name: Mirror
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
permissions:
contents: write
jobs:
mirror:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Update Repository
run: |
git remote set-url origin https://dawn.googlesource.com/dawn
git remote set-url --push origin https://github.com/Paper-Cranes-Ltd/dawn.git
git fetch origin main
git pull --rebase origin main
git push --force
git push --force --tags