From 132ac2a9089e7f95f88e4023e8ca8ac0acc57dcb Mon Sep 17 00:00:00 2001 From: qthompso <144176741+qthompso@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:18:22 -0700 Subject: [PATCH] Update upload_artifacts.yml fixed deployment step added permissions added environment Signed-off-by: qthompso <144176741+qthompso@users.noreply.github.com> --- .github/workflows/upload_artifacts.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/upload_artifacts.yml b/.github/workflows/upload_artifacts.yml index 37dcdc5b..c380b226 100644 --- a/.github/workflows/upload_artifacts.yml +++ b/.github/workflows/upload_artifacts.yml @@ -13,6 +13,12 @@ jobs: publish-docs: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'success' }} && github.ref == 'refs/heads/main' + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} steps: - run: echo 'The Test docs workflow passed' - name: download-artifact @@ -31,3 +37,5 @@ jobs: path: docs_results/.results_docs/html - name: deploy-to-github-pages uses: actions/deploy-pages@v2 + id: deployment +