added cloudfront cache clearing to circleci s3 deploy
parent
733ba17948
commit
7b142ecccc
|
@ -49,7 +49,7 @@ jobs:
|
||||||
at: workspace
|
at: workspace
|
||||||
- run:
|
- run:
|
||||||
name: Deploy to S3
|
name: Deploy to S3
|
||||||
command: $HOME/bin/s3deploy -source=workspace/public/ -bucket=$BUCKET -region=$REGION
|
command: $HOME/bin/s3deploy -source=workspace/public/ -bucket=$BUCKET -region=$REGION -distribution-id=$CF_DISTRIBUTION_ID
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
Loading…
Reference in New Issue