Last commit to migrate to Finch #15
This file contains hidden or 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 example repo | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Push example to second repo | |
| run: | | |
| git config --global user.name "uproid" | |
| git config --global user.email "info@uproid.com" | |
| cd example | |
| git init | |
| git remote add origin https://x-access-token:${{ secrets.USEKEY }}@github.com/uproid/example-webapp-docker.git | |
| git add . | |
| git commit -m "Update from main repo" | |
| git push --force origin master |