|
@@ -6,7 +6,7 @@ before_install:
|
|
- tar xvf script/secrets.tar -C script/
|
|
- tar xvf script/secrets.tar -C script/
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq binutils-dev binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu genisoimage liblzma-dev syslinux
|
|
- sudo apt-get install -qq binutils-dev binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu genisoimage liblzma-dev syslinux
|
|
-- sudo pip install mkdocs==0.16.3 mkdocs-bootswatch awscli tornado==4.5.3
|
|
|
|
|
|
+- sudo pip install awscli tornado==4.5.3
|
|
script:
|
|
script:
|
|
- "./script/prep-release.sh"
|
|
- "./script/prep-release.sh"
|
|
deploy:
|
|
deploy:
|
|
@@ -18,18 +18,9 @@ deploy:
|
|
skip_cleanup: true
|
|
skip_cleanup: true
|
|
on:
|
|
on:
|
|
repo: antonym/netboot.xyz
|
|
repo: antonym/netboot.xyz
|
|
- - provider: s3
|
|
|
|
- access_key_id: $AWS_ACCESS_KEY_ID
|
|
|
|
- secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
|
|
- bucket: $BUCKET_SITE
|
|
|
|
- local_dir: site
|
|
|
|
- skip_cleanup: true
|
|
|
|
- on:
|
|
|
|
- repo: antonym/netboot.xyz
|
|
|
|
after_deploy:
|
|
after_deploy:
|
|
- aws configure set preview.cloudfront true
|
|
- aws configure set preview.cloudfront true
|
|
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DIST_ID_BOOT --paths "/*"
|
|
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DIST_ID_BOOT --paths "/*"
|
|
- - aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DIST_ID_SITE --paths "/*"
|
|
|
|
notifications:
|
|
notifications:
|
|
email:
|
|
email:
|
|
- antony@mes.ser.li
|
|
- antony@mes.ser.li
|