pages bug fix and gitignore
Tue, 14 Jul 2026
3 files changed,
16 insertions(+),
6 deletions(-)
M
.github/workflows/static.yml
@@ -41,13 +41,23 @@
- name: Generate static site run: go run . -config config.yaml -export showcase/out + # GitHub project Pages serves the artifact at /<repository>/, while + # git-preview exports each repository into its own directory. Make that + # repository directory the artifact root and prefix the shared assets. + - name: Prepare site for GitHub project Pages + env: + REPOSITORY_NAME: ${{ github.event.repository.name }} + run: |
… preview truncated
M
.gitignore
@@ -3,4 +3,4 @@ git-preview
result .DS_Store DEPLOY.md -.showcase/out+showcase/out/
M
README.md
@@ -95,12 +95,12 @@ ## Generate your preview files
```sh git-preview -config config.yaml # browse at :5555 -git-preview -config config.yaml -export .showcase/out # static build +git-preview -config config.yaml -export showcase/out # static build ``` ## Local preview of an export ```sh -cd .showcase/out && python3 -m http.server 5556
… preview truncated