-
Notifications
You must be signed in to change notification settings - Fork 4
118 lines (108 loc) · 4.14 KB
/
readonly.yml
File metadata and controls
118 lines (108 loc) · 4.14 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
on:
push:
branches:
- main
name: Distribute code to artengine, contracts, website
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Copy the artengine folder
- name: Push to artengine config
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'artengine/config/' # Folder to copy
destination_repo: 'Cash-Cows/artengine' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing config"
git_server: 'github.com'
- name: Push to artengine layers
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'artengine/layers/' # Folder to copy
destination_repo: 'Cash-Cows/artengine' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing layers"
git_server: 'github.com'
- name: Push to artengine scripts
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'artengine/scripts/' # Folder to copy
destination_repo: 'Cash-Cows/artengine' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing scripts"
git_server: 'github.com'
- name: Push to contracts artifacts
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'artifacts/' # Folder to copy
destination_repo: 'Cash-Cows/contracts' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing artifacts"
git_server: 'github.com'
- name: Push to contracts contracts
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'contracts/' # Folder to copy
destination_repo: 'Cash-Cows/contracts' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing contracts"
git_server: 'github.com'
- name: Push to contracts tests
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'tests/' # Folder to copy
destination_repo: 'Cash-Cows/contracts' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing tests"
git_server: 'github.com'
- name: Push to website docs
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'docs/' # Folder to copy
destination_repo: 'Cash-Cows/website' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing docs"
git_server: 'github.com'
- name: Push to website server
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'server/' # Folder to copy
destination_repo: 'Cash-Cows/website' # Target repo
destination_folder: './' # Folder where to copy it
user_email: 'moo@cashcows.club'
user_name: 'Cowveloper'
commit_message: "Syncing server"
git_server: 'github.com'