Gitset Backup #3
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: Gitset Backup | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| backup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to Target | |
| run: | | |
| git remote add target https://oauth2:${{ secrets.BACKUP_TARGET_TOKEN }}@github.com/ivandevtestdev/mcp-rss-aggregator.git | |
| git push --mirror target |