Skip to content

Commit

Permalink
fix: generate docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
anssari1 committed Dec 2, 2024
1 parent ffe2de8 commit 2ace175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Move Latest Docs to the "older" Directory (Archiving latest live release)
run: |
mkdir older/${{ env.LATEST_DOCS_VERSION }}
mv images rapid-sdk scripts styles index.html navigation.html not-found-version.html version.json older/${{ env.LATEST_DOCS_VERSION }}
mv images xap-sdk scripts styles index.html navigation.html not-found-version.html version.json older/${{ env.LATEST_DOCS_VERSION }}
- name: Move the "older" and "assets" Directories to a Temporary Workspace
run: mv older assets ${{ runner.temp }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
run: git checkout gh-pages

- name: Cleanup Old Docs from the Repository's Root
run: rm -rf code images older rapid-sdk scripts styles index.html navigation.html not-found-version.html version.json
run: rm -rf code images older xap-sdk scripts styles index.html navigation.html not-found-version.html version.json

- name: Move Newly Generated Docs to the Repository Root
run: mv ${{ runner.temp }}/${{ env.NEW_DOCS_VERSION }}/* .
Expand All @@ -88,4 +88,4 @@ jobs:
commit-message: "chore: publishing docs for version ${{ env.NEW_DOCS_VERSION }}"
body: "This PR adds the reference documentation for version ${{ env.NEW_DOCS_VERSION }}."
title: "chore: reference docs update for version ${{ env.NEW_DOCS_VERSION }}"
branch: "docs-update-${{ env.NEW_DOCS_VERSION }}"
branch: "docs-update-${{ env.NEW_DOCS_VERSION }}"

0 comments on commit 2ace175

Please sign in to comment.