Sync Actions #201
  
    
      This file contains 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 Actions | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| push: | |
| branches: [ "master" ] | |
| jobs: | |
| sync: | |
| runs-on: [ ubuntu-latest ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Download Actions Sync | |
| run: | | |
| curl -L https://github.com/actions/actions-sync/releases/download/v202404231422/actions.actions-sync_202404231422_linux_amd64.tar.gz -o actions-sync.tar.gz | |
| tar -xzf actions-sync.tar.gz | |
| mv **/actions-sync /usr/local/bin | |
| - name: Sync Actions | |
| run: | | |
| mkdir ./cache | |
| actions-sync sync \ | |
| --cache-dir ./cache \ | |
| --destination-url https://openwow.dev \ | |
| --destination-token "${{ secrets.ACTIONS_SYNC_TOKEN }}" \ | |
| --repo-name-list-file ./mirrored-repositories.txt |