-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (42 loc) · 1.58 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
name: Copy .md from ixo-blockchain
run-name: ${{ github.actor }} pushed a change.
on: [push]
jobs:
copy-docs-from-blockchain-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: alwyn-ixopatch-1
- 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: ls -al
- run: find ./ixo-blockchain -type f -name "*.md" -exec cp -R {} ./developers/ixo-blockchain \;
- run: ls -al /developers/ixo-blockchain
- run: find ./ixo-signx -type f -name "*.md" -exec cp -R {} ./developers/ixo-signx \;
- run: ls -al /developers/ixo-signx
- run: find ./ixo-message-relayer -type f -name "*.md" -exec cp -R {} ./developers/ixo-message-relayer \;
- run: ls -al /developers/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 config --global --add safe.directory /home/runner/work/docs/docs
- run: git push