Update README.md #7
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: Mirror to GitLab | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| mirror: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to GitLab | |
| run: | | |
| git remote add gitlab "https://$GITLAB_USERNAME:$GITLAB_TOKEN@gitlab.com/racpast/SNIBypassGUI.git" | |
| git push --force gitlab HEAD:main | |
| env: | |
| GITLAB_USERNAME: ${{ secrets.GITLAB_USERNAME }} | |
| GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} |