Skip to content

Sync Actions

Sync Actions #25

Workflow file for this run

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