Add GitHub Action to sync to GLiNet-Community-Scripts org #1
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 to GLiNet-Community-Scripts | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to org repo | |
| run: | | |
| git remote add community https://x-access-token:${{ secrets.ORG_SYNC_TOKEN }}@github.com/GLiNet-Community-Scripts/OpenSpeedTestServer.git | |
| git push community main --force |