PHP Classes

File: buildspec.yml

Recommend this page to a friend!
  Classes of Asad Ali  >  PayDirectly PHP  >  buildspec.yml  >  Download  
File: buildspec.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PayDirectly PHP
Send HTTP requests to the PayDirectly API
Author: By
Last change:
Date: 3 months ago
Size: 613 bytes
 

Contents

Class file image Download
version: 0.2

phases:
  build:
    commands:
      - sphinx-build -b html ./docs ./build
  post_build:
    commands:
      - |
        aws s3 sync ./build s3://$S3_BUCKET \
          --exclude "_static/*" \
          --content-type "text/html" \
          --acl public-read
      - |
        aws s3 sync ./build s3://$S3_BUCKET \
          --exclude "*" \
          --include "_static/*" \
          --cache-control max-age=14400,public \
          --acl public-read \
          --delete
      - |
        aws cloudfront create-invalidation \
          --distribution-id $DISTRIBUTION_ID \
          --paths "/*"
For more information send a message to info at phpclasses dot org.