From 6999b59b804d13340338fdfb86e5752e30fed864 Mon Sep 17 00:00:00 2001 From: Ben Rockwood Date: Tue, 5 Mar 2024 16:47:03 -0800 Subject: [PATCH 1/3] PREview needs to deploy into bucket/docs/ Signed-off-by: Ben Rockwood --- .github/workflows/PREview-update.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PREview-update.yaml b/.github/workflows/PREview-update.yaml index 494ef23c9..f1914cc0d 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: From dc07b538807ae5268d0cd10843d21d8257a7cb09 Mon Sep 17 00:00:00 2001 From: Ben Rockwood Date: Tue, 5 Mar 2024 16:50:35 -0800 Subject: [PATCH 2/3] Add a notice that post-create deployment can take some time. Signed-off-by: Ben Rockwood --- .github/workflows/PREview-create.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/PREview-create.yaml b/.github/workflows/PREview-create.yaml index a7044d0af..da821d212 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 From 04e35a05980d7605166322f1033bea68320fd393 Mon Sep 17 00:00:00 2001 From: Ben Rockwood Date: Tue, 5 Mar 2024 16:55:05 -0800 Subject: [PATCH 3/3] Missed one... Signed-off-by: Ben Rockwood --- .github/workflows/PREview-create.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PREview-create.yaml b/.github/workflows/PREview-create.yaml index da821d212..84f19e6a0 100644 --- a/.github/workflows/PREview-create.yaml +++ b/.github/workflows/PREview-create.yaml @@ -64,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: