Skip to content
Snippets Groups Projects
Unverified Commit b25b5513 authored by Ray Schamp's avatar Ray Schamp Committed by GitHub
Browse files

Merge pull request #1291 from rschamp/fix-preview-deploy

Fix preview deploy
parents 6fd8ebca 7c5ad47d
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,9 @@ deploy:
api_key: $NPM_TOKEN
- provider: s3
on:
branch: master
branch:
- master
- $PREVIEW_BRANCH
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: $AWS_BUCKET_NAME
......@@ -46,3 +48,5 @@ deploy:
detect_encoding: true
skip_cleanup: true
local_dir: build
after_deploy:
- 'curl -X POST -H "Fastly-Key: $FASTLY_TOKEN" -H "Accept: application/json" https://api.fastly.com/service/$FASTLY_SERVICE_ID/purge_all'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment