From 53b8414d152372ccca6fdd04b1fd05bbea194d08 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Fri, 9 May 2025 23:21:17 -0400 Subject: [PATCH] fix page.yml --- .github/workflows/page.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml index 5ec4445..c4fb3ab 100644 --- a/.github/workflows/page.yml +++ b/.github/workflows/page.yml @@ -31,7 +31,8 @@ jobs: - name: Build Site Generator run: | go install github.com/go-i2p/go-gh-page/cmd/github-site-gen@latest - cp -v "$GOPATH/bin/github-site-gen" ./github-site-gen + export GOBIN=$(go env GOPATH)/bin + cp -v "$GOBIN/github-site-gen" ./github-site-gen # Ensure the binary is executable chmod +x github-site-gen @@ -56,4 +57,4 @@ jobs: folder: site # The folder the action should deploy branch: gh-pages # The branch the action should deploy to clean: true # Automatically remove deleted files from the deploy branch - commit-message: "Deploy site generated on ${{ github.sha }}" \ No newline at end of file + commit-message: "Deploy site generated on ${{ github.sha }}"