diff --git a/.github/workflows/demo-build.yml b/.github/workflows/demo-build.yml index a25c45fa2e9..a41ec2d5787 100644 --- a/.github/workflows/demo-build.yml +++ b/.github/workflows/demo-build.yml @@ -56,8 +56,17 @@ jobs: git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository_owner }}/ramp4-pcar4 git push -u origin demo-page echo "Orphan branch 'demo-page' has been created and pushed to origin." + cd ../ + # Will be properly checked out in the next step + rm -rf demo-page fi + - uses: actions/checkout@v4 + with: + ref: demo-page + path: demo-page + fetch-depth: 0 + - name: Remove the old demo if it exists and make docs folder run: | rm -rf demo-page/${{ github.ref_name }} diff --git a/docs/typedoc-README.md b/docs/typedoc-README.md index 2786a8f4c6b..b55ffd748e4 100644 --- a/docs/typedoc-README.md +++ b/docs/typedoc-README.md @@ -2,4 +2,4 @@

-This site serves as the technical documentation of RAMP 4's TypeScript codebase. For general documentation, please visit the [main documentation site](https://ramp4-pcar4.github.io/ramp4-pcar4/{{ramp-version}}/docs/). +This site serves as the technical documentation of RAMP 4's TypeScript codebase. For general documentation, please visit the [main documentation site](https://{{repo-owner}}.github.io/ramp4-pcar4/{{ramp-version}}/docs/).