Fixing env reference for API key and path to doc (#6478)

* fix the env reference for the API key

* fix path to directory in the workflow file
This commit is contained in:
Adi Shankara 2023-08-01 17:48:00 +05:30 committed by GitHub
parent 572d71c50e
commit aa2f4a1fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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