Open Tenshock opened 1 year ago
I have got the same issue with node v18.16.1 I'm running node with an environment variable: NODE_OPTION=--openssl-legacy-provider
The "Decision Log" navigation bar on the left seems empty and also the "ADR Workflow" image wouldn't be loaded.
I was able to get this to work by changing the last two steps in the documented GH pages workflow to:
- name: Install and Build Log4brains
run: |
npm install -g log4brains
log4brains build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: .log4brains/out
clean: true
It seems like anything other that the default buildPath
break any resource links when deployed to GH Pages.
At first step, i don't want to deploy the pages to Github etc.
When i run log4brains build
, the page index.html seems not working correctly. The Logo in the Header is missing and the links on the left navigationbar are invisible. When i search for the links in the HTML file, they exist but maybe the css does hide the links. In addition i find the link to the logo in the HTML file: /l4b-static/Log4brains-logo-dark.png
. When i edit the link and remove the first slash, the logo will be shown.
running log4brains preview
is working fine.
Im running log4brains under Windows.
Bug Report
Description
the output generated by
log4brains build
is brokenSteps to Reproduce
npm install -g log4brains
log4brains init
log4brains build
.log4brains/out
6: See how the navigation, search and images are brokenExpected Behavior
The static website should work
Context
I can't deploy to gitlab pages or whatever using the procedure explained in the README.md
Environment