Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- 'README.md'
- 'Release.md'
- '.github/workflows/release.yaml'
- '.github/workflows/test.yaml'

jobs:
build:
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
run: |
mkdir -p tmp_extracted
tar -xzf ./wire-docs.tar.gz -C tmp_extracted
aws s3 sync tmp_extracted/latest s3://origin-docs.wire.com/latest
aws s3 sync tmp_extracted/site s3://origin-docs.wire.com/site
aws s3 cp tmp_extracted/versions.json s3://origin-docs.wire.com/versions.json
aws s3 sync tmp_extracted/latest s3://${{ secrets.BUCKET }}/latest
aws s3 sync tmp_extracted/site s3://${{ secrets.BUCKET }}/site
aws s3 cp tmp_extracted/versions.json s3://${{ secrets.BUCKET }}/versions.json
rm -rf tmp_extracted
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- 'README.md'
- 'Release.md'
- '.github/workflows/release.yaml'
- '.github/workflows/build.yaml'

jobs:
test:
Expand Down
Loading