increase max parallel sync jobs ⚡ #281
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
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
name: Sync | |
jobs: | |
sync-files: | |
strategy: | |
max-parallel: 3 | |
matrix: | |
file: [nvim, starship, lazygit, bat, fastfetch, .github] | |
repo: [dots, nix, Windots] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Sync ${{ matrix.file }} to ${{ matrix.repo }} | |
uses: scottmckendry/repo-files-clean-copy-sync@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "${{ matrix.file }}/" | |
destination_repo: "scottmckendry/${{ matrix.repo }}" | |
destination_folder: "/" | |
user_email: "39483124+scottmckendry@users.noreply.github.com" | |
user_name: "Scott McKendry" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from scottmckendry/nix" | |
git_server: "github.com" |