Updated GitHub Pages workflow for static site deployment
Tue, 14 Jul 2026
1 files changed,
11 insertions(+),
1 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