Skip to content

Add test file (#11) #12

Add test file (#11)

Add test file (#11) #12

Workflow file for this run

name: Git Public Mirror
on:
push:
branches:
- main
jobs:
git_mirror:
runs-on: ubuntu-latest
if: github.repository == 'Certora/cloud-rel-private'
steps:
- name: Clone Private Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
path: cloud-rel-private
- name: Checkout Public Repository
uses: actions/checkout@v4
with:
repository: Certora/cloud-rel-public
path: cloud-rel-public
ssh-key: ${{ secrets.SSH_MIRROR_ACCESS }}
- name: Mirror
run: |
cd cloud-rel-private
./scripts/git-mirror.sh ../cloud-rel-public
- name: Push
run: |
cd cloud-rel-public
git push