Skip to content
Merged
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
18 changes: 16 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,25 @@ commands:
--cache-control "public,max-age=31536000,immutable" \
--exclude "*.html" --exclude "*.rsc" --exclude "*.txt" --exclude "*.json" --exclude "*.md" --exclude "*.xml"
- run:
name: Copy HTML and text files to S3
name: Copy HTML and data files to S3
command: |
aws s3 cp /tmp/dist/s2-docs/<< parameters.dir >> << parameters.bucket >> --recursive \
--cache-control "public,max-age=300,stale-while-revalidate=300" \
--exclude "*" --include "*.html" --include "*.txt" --include "*.json" --include "*.md" --include "*.xml"
--exclude "*" --include "*.html" --include "*.json" --include "*.xml"
- run:
name: Copy Markdown files to S3
command: |
aws s3 cp /tmp/dist/s2-docs/<< parameters.dir >> << parameters.bucket >> --recursive \
--cache-control "public,max-age=300,stale-while-revalidate=300" \
--content-type "text/markdown;charset=utf-8" \
--exclude "*" --include "*.md"
- run:
name: Copy text files to S3
command: |
aws s3 cp /tmp/dist/s2-docs/<< parameters.dir >> << parameters.bucket >> --recursive \
--cache-control "public,max-age=300,stale-while-revalidate=300" \
--content-type "text/plain;charset=utf-8" \
--exclude "*" --include "*.txt"
- run:
name: Copy RSC files to S3
command: |
Expand Down