Delete BJH_OS_Tool_64_Bit_4.6.exe As it no more requires #168
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 SourceForge | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout GitHub repo with full history | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # important! fetch all commits | |
| # Set up SSH | |
| - name: Set up SSH | |
| run: | | |
| mkdir -p ~/.ssh | |
| echo "${{ secrets.SF_PRIVATE_KEY }}" > ~/.ssh/id_rsa | |
| chmod 600 ~/.ssh/id_rsa | |
| ssh-keyscan -t rsa git.code.sf.net >> ~/.ssh/known_hosts | |
| # Add SourceForge remote | |
| - name: Add SourceForge remote | |
| run: git remote add sourceforge "ssh://haris-23@git.code.sf.net/p/bjh-os/code" | |
| # Push all branches and tags | |
| - name: Push to SourceForge | |
| run: | | |
| git push sourceforge --all | |
| git push sourceforge --tags |