Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Pages Pathname Fix #268

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ jobs:
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
mvn test -B
- run: node --test
docs-lint:
demo-site-lint:
if: |
!cancelled() && !failure()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
working-directory: ./docs
working-directory: ./demo-site
run: npm install
- name: Lint
working-directory: ./docs
working-directory: ./demo-site
run: npm run lint

4 changes: 2 additions & 2 deletions .github/workflows/demo-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 🔧
working-directory: ./docs
working-directory: ./demo-site
run: |
npm install
npm run build
Expand All @@ -21,4 +21,4 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/public
folder: demo-site/public
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ cert.pem

dist
.vscode
docs/public
demo-site/public
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/README.md → demo-site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ npm run build

# Note on salvation.min.js

This comes from [Salvation](https://github.com/shapesecurity/salvation). It is automatically generated at compile time using [TeaVM](https://teavm.org/docs/intro/getting-started.html). And needs to be manually copied to `docs/static/`.
This comes from [Salvation](https://github.com/shapesecurity/salvation). It is automatically generated at compile time using [TeaVM](https://teavm.org/docs/intro/getting-started.html). And needs to be manually copied to `demo-site/static/`.

To update the version of Salvation used in this demo website, follow the instructions provided in the README located at the root of this repo. Copy the generated file to `docs/static/`, then rename it to `salvation.min.js`.
To update the version of Salvation used in this demo website, follow the instructions provided in the README located at the root of this repo. Copy the generated file to `demo-site/static/`, then rename it to `salvation.min.js`.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading