Bump tj-actions/changed-files from 41 to 46 in /.github/workflows (#78) #202
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: Backup On Branch | |
| on: | |
| push: | |
| branches: | |
| - main # Trigger on the mrayanasim branch | |
| jobs: | |
| backup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the Branch | |
| uses: actions/checkout@v2 | |
| with: | |
| ref: mrayanasim # Checkout the main branch | |
| - name: Upload Main Branch to Backup | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: repository-backup | |
| path: . # This will upload all files in the main branch |