Skip to content

Commit

Permalink
Checkout demo-page in all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
milespetrov committed Sep 5, 2024
1 parent 29c5715 commit e0f7dc1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/demo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion docs/typedoc-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

<p align="center"><img src="https://raw.githubusercontent.com/ramp4-pcar4/ramp4-pcar4/main/assets/logo.svg"></p>

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/).

0 comments on commit e0f7dc1

Please sign in to comment.