From eba83483869e86ad4e4a0558ff937ccd02df9236 Mon Sep 17 00:00:00 2001 From: idk Date: Mon, 5 May 2025 23:08:17 -0400 Subject: [PATCH] Update 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..9a3762c 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/bin/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 }}"