diff --git a/.github/workflows/sync_mirror.yml b/.github/workflows/sync_mirror.yml new file mode 100644 index 0000000..fbae49c --- /dev/null +++ b/.github/workflows/sync_mirror.yml @@ -0,0 +1,15 @@ +name: Mirroring + +on: [push, delete] + +jobs: + to_github: + runs-on: ubuntu-18.04 + steps: # <-- must use actions/checkout@v1 before mirroring! + - uses: actions/checkout@v1 + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@github.com:PSLmodels/CorpTax.git + ssh_private_key: # <-- use 'secrets' to pass credential information. + ${{ secrets.SSH_PRIVATE_KEY }}