1 Star 1 Fork 1

oneforce/scratchjr-website

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
chrisgarrity 提交于 2017-08-17 09:40 . Update travis to node 6
language: node_js
node_js:
- 6
cache:
directories:
- node_modules
env:
global:
- FASTLY_ACTIVATE_CHANGES=true
- FASTLY_SERVICE_ID_NAME=FASTLY_SERVICE_ID_$TRAVIS_BRANCH
- FASTLY_SERVICE_ID=${!FASTLY_SERVICE_ID_NAME}
- S3_BUCKET_NAME_master=scratch-jr-production
- S3_BUCKET_NAME_develop=scratch-jr-stage
- S3_BUCKET_NAME_VAR=S3_BUCKET_NAME_$TRAVIS_BRANCH
- S3_BUCKET_NAME=${!S3_BUCKET_NAME_VAR}
deploy:
- provider: s3
on:
repo: LLK/scratchjr-website
branch:
- master
access_key_id: $AWS_ACCESS_KEY_ID_PRODUCTION
secret_access_key: $AWS_SECRET_ACCESS_KEY_PRODUCTION
bucket: $S3_BUCKET_NAME
skip_cleanup: true
acl: public_read
cache_control: "maxage=86400, s-maxage=31536000 no-transform"
local_dir: build
- provider: s3
on:
repo: LLK/scratchjr-website
branch:
- develop
access_key_id: $AWS_ACCESS_KEY_ID_STAGING
secret_access_key: $AWS_SECRET_ACCESS_KEY_STAGING
bucket: $S3_BUCKET_NAME
skip_cleanup: true
acl: public_read
cache_control: "maxage=86400, s-maxage=31536000 no-transform"
local_dir: build
after_deploy:
- make sync-fastly
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/oneforce/scratchjr-website.git
[email protected]:oneforce/scratchjr-website.git
oneforce
scratchjr-website
scratchjr-website
master

搜索帮助