Skip to content

Commit

Permalink
Fixing env reference for API key and path to doc (ElementsProject#6478)
Browse files Browse the repository at this point in the history
* fix the env reference for the API key

* fix path to directory in the workflow file
  • Loading branch information
adi-shankara authored Aug 1, 2023
1 parent 572d71c commit aa2f4a1
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/rdme-docs-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,35 @@ jobs:

- name: Sync doc/getting-started/ 🚀
uses: readmeio/rdme@v8
with:
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
rdme: docs doc/getting-started --key=$README_API_KEY --version=1
with:
rdme: docs doc/getting-started --key=${{ env.README_API_KEY }} --version=1

- name: Sync doc/beginners-guide/ 🚀
uses: readmeio/rdme@v8
with:
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
rdme: docs doc/beginners-guide --key=$README_API_KEY --version=1
with:
rdme: docs doc/beginners-guide --key=${{ env.README_API_KEY }} --version=1

- name: Sync doc/node-operators-guide/ 🚀
uses: readmeio/rdme@v8
with:
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
rdme: docs doc/node-operators-guide --key=$README_API_KEY --version=1
with:
rdme: docs doc/node-operators-guide --key=${{ env.README_API_KEY }} --version=1

- name: Sync doc/developers-guide/ 🚀
uses: readmeio/rdme@v8
with:
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
rdme: docs doc/developers-guide --key=$README_API_KEY --version=1
with:
rdme: docs doc/developers-guide --key=${{ env.README_API_KEY }} --version=1

- name: Sync doc/contributing-to-core-lightning/ 🚀
uses: readmeio/rdme@v8
with:
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
rdme: docs doc/contributing-to-core-lightning --key=$README_API_KEY --version=1
with:
rdme: docs doc/contribute-to-core-lightning --key=${{ env.README_API_KEY }} --version=1

0 comments on commit aa2f4a1

Please sign in to comment.