-
Notifications
You must be signed in to change notification settings - Fork 28
54 lines (48 loc) · 1.84 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
on:
push:
branches:
- main
workflow_dispatch:
name: Sync to dots
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Sync Neovim
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }}
with:
source_file: "nvim/"
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"
- name: Sync Starship
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }}
with:
source_file: "starship/"
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"
- name: Sync Lazygit
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }}
with:
source_file: "lazygit/"
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"