From 7ca023521d5a5f22ebb6e5710267bc909670e602 Mon Sep 17 00:00:00 2001 From: "pi.admin" Date: Fri, 11 Jul 2025 13:53:08 +0530 Subject: [PATCH 1/2] fix --- .github/workflows/build-test-publish.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index 997dcffd..d51a884e 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -8,8 +8,19 @@ name: build-test-publish on: workflow_dispatch: +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + actions: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pi-docs" + cancel-in-progress: false + jobs: - # chocolatey is only available on windows build: runs-on: ubuntu-latest timeout-minutes: 20 @@ -19,20 +30,20 @@ jobs: steps: - # docs Repo + # Docs Repo - name: Checkout Docs uses: actions/checkout@v3 with: path: docs - # protocols repo + # shared repo - name: Checkout Shared uses: actions/checkout@v3 with: repository: perpetualintelligence/shared path: shared - # protocols repo + # oneterminal repo - name: Checkout Terminal uses: actions/checkout@v3 with: From 5dd85f33ad58c1d54f9bb5ee39e845aa106cbab2 Mon Sep 17 00:00:00 2001 From: "pi.admin" Date: Fri, 11 Jul 2025 14:33:13 +0530 Subject: [PATCH 2/2] pages --- .github/workflows/build-test-publish.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index d51a884e..73731bec 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -20,8 +20,12 @@ concurrency: group: "pi-docs" cancel-in-progress: false -jobs: - build: +jobs: + documentation: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest timeout-minutes: 20