diff --git a/.github/workflows/rdme-docs-sync.yml b/.github/workflows/rdme-docs-sync.yml index 826f104f83ac..222c8754677f 100644 --- a/.github/workflows/rdme-docs-sync.yml +++ b/.github/workflows/rdme-docs-sync.yml @@ -1,14 +1,14 @@ -# This GitHub Actions workflow was auto-generated by the `rdme` cli on 2023-04-22T13:16:28.430Z -# You can view our full documentation here: https://docs.readme.com/docs/rdme name: ReadMe GitHub Action 🦉 on: push: + # This workflow will run every time you push code to the following branch: `master` and includes a change to any files inside doc/ + # Check out GitHub's docs for more info on configuring this: + # https://docs.github.com/actions/using-workflows/events-that-trigger-workflows branches: - # This workflow will run every time you push code to the following branch: `master` - # Check out GitHub's docs for more info on configuring this: - # https://docs.github.com/actions/using-workflows/events-that-trigger-workflows - master + paths: + - 'doc/' jobs: rdme-docs: @@ -17,7 +17,27 @@ jobs: - name: Check out repo 📚 uses: actions/checkout@v3 - - name: Run `docs` command 🚀 + - name: Sync doc/getting-started/ 🚀 uses: readmeio/rdme@v8 with: - rdme: docs guides/ --key=${{ secrets.README_API_KEY }} --version=23.02 + rdme: docs doc/getting-started --key=${{ secrets.README_API_KEY }} --version=1 + + - name: Sync doc/beginners-guide/ 🚀 + uses: readmeio/rdme@v8 + with: + rdme: docs doc/beginners-guide --key=${{ secrets.README_API_KEY }} --version=1 + + - name: Sync doc/node-operators-guide/ 🚀 + uses: readmeio/rdme@v8 + with: + rdme: docs doc/node-operators-guide --key=${{ secrets.README_API_KEY }} --version=1 + + - name: Sync doc/developers-guide/ 🚀 + uses: readmeio/rdme@v8 + with: + rdme: docs doc/developers-guide --key=${{ secrets.README_API_KEY }} --version=1 + + - name: Sync doc/contributing-to-core-lightning/ 🚀 + uses: readmeio/rdme@v8 + with: + rdme: docs doc/contributing-to-core-lightning --key=${{ secrets.README_API_KEY }} --version=1