Skip to content

Commit

Permalink
Remove version flag in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rachfop committed Dec 21, 2023
1 parent 19e55f5 commit cdcc5bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Create version of docs for branch 🚀
uses: readmeio/rdme@v8
with:
rdme: versions:create 1.0-${{ env.BRANCH_VERSION }} --fork=1.0 --main=false --beta=true --deprecated=false --isPublic=false --key=${{ secrets.README_API_KEY }}
rdme: versions:create 1.0-${{ env.BRANCH_VERSION }} --key=${{ secrets.README_API_KEY }} --fork=1.0 --main=false --beta=true --deprecated=false --isPublic=false
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
- name: Run `docs` command 🚀
uses: readmeio/rdme@v8
with:
rdme: docs v1.0 --key=${{ secrets.README_API_KEY }} --version=1.0
rdme: docs v1.0 --key=${{ secrets.README_API_KEY }}
7 changes: 6 additions & 1 deletion .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ jobs:
BRANCH_VERSION=$(echo $BRANCH_NAME | tr -cd '0-9.')
echo "BRANCH_VERSION=$BRANCH_VERSION" >> $GITHUB_ENV
- name: DryRun for debugging
uses: readmeio/rdme@v8
with:
rdme: docs 1.0-${{ env.BRANCH_VERSION }} --key=${{ secrets.README_API_KEY }} --dryRun

- name: Update version of docs for branch 🚀
uses: readmeio/rdme@v8
with:
rdme: docs 1.0-${{ env.BRANCH_VERSION }} --version=${{ env.BRANCH_VERSION }} --key=${{ secrets.README_API_KEY }}
rdme: docs 1.0-${{ env.BRANCH_VERSION }} --key=${{ secrets.README_API_KEY }}

0 comments on commit cdcc5bd

Please sign in to comment.