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

Document how to publish to Github Pages #617

Open
hkBst opened this issue Nov 3, 2023 · 1 comment
Open

Document how to publish to Github Pages #617

hkBst opened this issue Nov 3, 2023 · 1 comment

Comments

@hkBst
Copy link

hkBst commented Nov 3, 2023

When deploying on Github Pages it is necessary to pass --public-url ${{ github.event.repository.name }} when building with trunk. Might be good to document this. A full example is here: https://github.com/hkBst/tic-tac-toe-seed/blob/main/.github/workflows/deploy.yml

@hkBst hkBst changed the title Deployment on Github Pages is broken (probably due to missing an important part of index.html) Document how to document to Github Pages Nov 29, 2023
@hkBst hkBst changed the title Document how to document to Github Pages Document how to publish to Github Pages Nov 29, 2023
@sak96
Copy link

sak96 commented Apr 21, 2024

I had some issue with this recently.
passing --public-url /${{ github.event.repository.name }}

adding / before the $ expression helped.
pasting just in case some one faces similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants