From 3f9fcceb34f627e27d2e342ed05ec22038158e9a Mon Sep 17 00:00:00 2001 From: Stuart Harris Date: Mon, 20 Jan 2025 17:00:46 +0000 Subject: [PATCH] token and dir creation --- .github/workflows/pages.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index e4c5cb77..d9013bae 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -24,6 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Export LATEST_TAG + env: + GH_TOKEN: ${{ github.token }} run: | echo "LATEST_TAG=$(gh api \ -H "Accept: application/vnd.github+json" \ @@ -75,7 +77,7 @@ jobs: - name: Move outputs run: | set -e - mkdir ./public + mkdir -p ./public/latest_master mv latest_master/target/doc ./public/latest_master/master_api_docs mv latest_master/docs/book/html/* ./public/latest_master/ mv latest_release/target/doc ./public/master_api_docs