From 07d7e6b54bb5a4dca3e740071da519512e9a1146 Mon Sep 17 00:00:00 2001 From: Ben Rockwood Date: Tue, 5 Mar 2024 17:04:09 -0800 Subject: [PATCH] PREview needs to deploy into bucket/docs/ (#25) * PREview needs to deploy into bucket/docs/ Signed-off-by: Ben Rockwood * Add a notice that post-create deployment can take some time. Signed-off-by: Ben Rockwood * Missed one... Signed-off-by: Ben Rockwood --------- Signed-off-by: Ben Rockwood --- .github/workflows/PREview-create.yaml | 3 ++- .github/workflows/PREview-update.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PREview-create.yaml b/.github/workflows/PREview-create.yaml index a7044d0a..84f19e6a 100644 --- a/.github/workflows/PREview-create.yaml +++ b/.github/workflows/PREview-create.yaml @@ -36,6 +36,7 @@ jobs: with: message: | **PREview environment has been created at [${{ env.URL }}](${{ env.URL }})** + *Please allow a few minutes for the environment to be fully deployed.* repo-token: ${{ secrets.GITHUB_TOKEN }} allow-repeats: true @@ -63,7 +64,7 @@ jobs: uses: ./.github/workflows/_deploy.yaml with: src_dir: build - bucket: ${{ needs.data.outputs.BUCKET }} + bucket: ${{ needs.data.outputs.BUCKET }}/docs secrets: inherit notify: diff --git a/.github/workflows/PREview-update.yaml b/.github/workflows/PREview-update.yaml index 494ef23c..f1914cc0 100644 --- a/.github/workflows/PREview-update.yaml +++ b/.github/workflows/PREview-update.yaml @@ -33,7 +33,7 @@ jobs: uses: ./.github/workflows/_deploy.yaml with: src_dir: build - bucket: ${{ needs.data.outputs.BUCKET }} + bucket: ${{ needs.data.outputs.BUCKET }}/docs secrets: inherit notify: