From 99ca7a1934b424f96b40c8ae5a72faba29fc7a0f Mon Sep 17 00:00:00 2001 From: Alwyn van Wyk Date: Thu, 26 Oct 2023 11:00:35 +0000 Subject: [PATCH 1/2] Create pull-docs.yml --- .github/workflows/pull-docs.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pull-docs.yml diff --git a/.github/workflows/pull-docs.yml b/.github/workflows/pull-docs.yml new file mode 100644 index 0000000..0cd987d --- /dev/null +++ b/.github/workflows/pull-docs.yml @@ -0,0 +1,21 @@ +name: Pull README.md from the ixo-blockchain repository + +on: + push: + branches: + - develop + +jobs: + pull-readme: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Get README.md from the ixo-blockchain repository + run: | + curl -O https://raw.githubusercontent.com/my-username/my-other-repo/main/README.md + + - name: Move README.md to destination + run: | + mv README.md docs From ec33b24c89f21e1b444adcc0502da42de5a1e11e Mon Sep 17 00:00:00 2001 From: Alwyn van Wyk Date: Thu, 26 Oct 2023 11:20:06 +0000 Subject: [PATCH 2/2] Update pull-docs.yml --- .github/workflows/pull-docs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-docs.yml b/.github/workflows/pull-docs.yml index 0cd987d..2a87f66 100644 --- a/.github/workflows/pull-docs.yml +++ b/.github/workflows/pull-docs.yml @@ -12,10 +12,11 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Get README.md from the ixo-blockchain repository + - name: Get *.md files from the ixo-blockchain repository run: | - curl -O https://raw.githubusercontent.com/my-username/my-other-repo/main/README.md + curl -O https://raw.githubusercontent.com/ixofoundation/ixo-blocksync/develop/**/*.md + - name: Move README.md to destination run: | - mv README.md docs + mv *.md docs/developers/ixo-blockchain