Skip to content

Commit

Permalink
Fixed missing zip files and base file path issue when deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Jan 5, 2024
1 parent bf32730 commit 52890a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-to-amplify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ jobs:
- name: Build the docs site
run: mkdocs build

- name: Copy docs into _site
run: cp -r _site-docs _site/docs

- name: Deploy version branches to the website
run: |
ruby .scripts/merge-sitemaps.rb
Expand Down
2 changes: 1 addition & 1 deletion deploy-amplify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eo pipefail

rm -f wiremock-org-amplify.zip
zip -q -r wiremock-org-amplify.zip _site/*
(cd _site && zip -q -r ../wiremock-org-amplify.zip *)

deploymentData=$(aws amplify create-deployment --app-id d1rkup1qsf4ckf --branch-name prod)
jobId=$(echo $deploymentData | jq -r '.jobId')
Expand Down

0 comments on commit 52890a8

Please sign in to comment.