-
Notifications
You must be signed in to change notification settings - Fork 7
60 lines (51 loc) · 2.19 KB
/
pull-docs.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
55
56
57
58
59
60
name: Copy docs from other repositories.
run-name: ${{ github.actor }} pushed a change.
on: [push]
jobs:
copy-docs-from-other-repos:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: alwyn-ixopatch-2
- name: Checkout ixo-blockchain
uses: actions/checkout@v4
with:
repository: ixofoundation/ixo-blockchain
ref: develop
path: ixo-blockchain
- name: Checkout ixo-signx
uses: actions/checkout@v4
with:
repository: ixofoundation/ixo-signx
ref: main
path: ixo-signx
- name: Checkout ixo-message-relayer
uses: actions/checkout@v4
with:
repository: ixofoundation/ixo-message-relayer
ref: main
path: ixo-message-relayer
- run: mkdir -p ./developers/ixo-blockchain/bonds
- run: mkdir -p ./developers/ixo-blockchain/claims
- run: mkdir -p ./developers/ixo-blockchain/entity
- run: mkdir -p ./developers/ixo-blockchain/iid
- run: mkdir -p ./developers/ixo-blockchain/token
- run: cp -R ./ixo-blockchain/x/bonds/spec ./developers/ixo-blockchain/bonds
- run: cp -R ./ixo-blockchain/x/claims/spec ./developers/ixo-blockchain/claims
- run: cp -R ./ixo-blockchain/x/entity/spec ./developers/ixo-blockchain/entity
- run: cp -R ./ixo-blockchain/x/iid/spec ./developers/ixo-blockchain/iid
- run: cp -R ./ixo-blockchain/x/token/spec ./developers/ixo-blockchain/token
- run: mkdir -p ./developers/ixo-signx
- run: find ./ixo-signx -type f -name "*.md" -exec cp -R {} ./developers/ixo-signx \;
- run: mkdir -p ./developers/ixo-message-relayer
- run: find ./ixo-message-relayer -type f -name "*.md" -exec cp -R {} ./developers/ixo-message-relayer \;
- run: rm -R ./ixo-blockchain
- run: rm -R ./ixo-signx
- run: rm -R ./ixo-message-relayer
- run: git add .
- run: git config --global user.email "[email protected]"
- run: git config --global user.name ${{ github.actor }}
- run: git commit -m "Copy *.md files from other repos"
- run: git push origin alwyn-ixopatch-2