From a2cc32ec2e2890638e9c0236421ba9377980fabb Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Wed, 25 Jan 2023 11:43:04 -0600 Subject: [PATCH] ci: use var instead of secret --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 883d938d5..aadfe0c05 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -50,7 +50,7 @@ jobs: - name: Sync docs to ReadMe (dry run) uses: ./ with: - rdme: docs ./documentation --key=${{ secrets.README_DEVELOPERS_API_KEY }} --version=${{ secrets.README_DEVELOPERS_MAIN_VERSION }} --dryRun + rdme: docs ./documentation --key=${{ secrets.README_DEVELOPERS_API_KEY }} --version=${{ vars.README_DEVELOPERS_MAIN_VERSION }} --dryRun # And finally, we perform an actual sync to ReadMe if we're on the main branch - name: Sync docs to ReadMe @@ -61,4 +61,4 @@ jobs: # Docs: https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions uses: readmeio/rdme@main with: - rdme: docs ./documentation --key=${{ secrets.README_DEVELOPERS_API_KEY }} --version=${{ secrets.README_DEVELOPERS_MAIN_VERSION }} + rdme: docs ./documentation --key=${{ secrets.README_DEVELOPERS_API_KEY }} --version=${{ vars.README_DEVELOPERS_MAIN_VERSION }}