Skip to content

Commit

Permalink
PREview needs to deploy into bucket/docs/ (#25)
Browse files Browse the repository at this point in the history
* PREview needs to deploy into bucket/docs/

Signed-off-by: Ben Rockwood <[email protected]>

* Add a notice that post-create deployment can take some time.

Signed-off-by: Ben Rockwood <[email protected]>

* Missed one...

Signed-off-by: Ben Rockwood <[email protected]>

---------

Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr authored Mar 6, 2024
1 parent 598e686 commit 07d7e6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/PREview-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PREview-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 07d7e6b

Please sign in to comment.