fix link #16
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
| # This workflow sync the current github repo to a remote repo by using 'git push'. | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: michaelliao/git-push-action@v3 | |
| env: | |
| PUSH_SSH_KEY: ${{ secrets.PUSH_SSH_KEY }} | |
| with: | |
| remote_repository: | | |
| [email protected]:cryptomichael/gitsite.git | |
| [email protected]:liaoxuefeng/gitsite.git | |
| push_options: "--force" |