Sync iGibson-dev/master to iGibson/master #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync iGibson-dev/master to iGibson/master | |
on: | |
workflow_dispatch: | |
schedule: | |
# Sync repositories on the 1st and 15th of the month at 9 AM | |
- cron: "0 17 1,15 * *" | |
jobs: | |
sync-private-fork: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Sync iGibson-dev/master to iGibson/master | |
if: github.repository == 'StanfordVL/iGibson-dev' && startsWith(github.ref, 'refs/tags') | |
run: | |
git push https://$PERSONAL_ACCESS_TOKEN:[email protected]/StanfordVL/iGibson.git master:master |