-
Notifications
You must be signed in to change notification settings - Fork 27
31 lines (27 loc) · 998 Bytes
/
sync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
on:
push:
branches:
- main
workflow_dispatch:
name: Sync to dots
jobs:
sync-files:
strategy:
matrix:
file: [nvim, starship, lazygit, bat, fastfetch]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Sync ${{ matrix.file }}
uses: scottmckendry/repo-files-clean-copy-sync@main
env:
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }}
with:
source_file: "${{ matrix.file }}/"
destination_repo: "scottmckendry/dots"
destination_folder: "/"
user_email: "[email protected]"
user_name: "Scott McKendry"
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from scottmckendry/Windots"
git_server: "github.com"