Skip to content

alwyn-ixo pushed a change. #19

alwyn-ixo pushed a change.

alwyn-ixo pushed a change. #19

Workflow file for this run

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