Skip to content

Instantly share code, notes, and snippets.

@bibhuticoder
Created August 10, 2020 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bibhuticoder/99c731e25ece1b6235a6cd41a1a891bd to your computer and use it in GitHub Desktop.
Save bibhuticoder/99c731e25ece1b6235a6cd41a1a891bd to your computer and use it in GitHub Desktop.
version: 0.2
phases:
install:
commands:
- npm i npm@latest -g
- pip install --upgrade pip
- pip install --upgrade awscli
pre_build:
commands:
- echo Pre_build Phase
- npm install
build:
commands:
- echo Build Phase
- npm run build
post_build:
commands:
- echo PostBuild Phase
- aws s3 sync ./dist $S3_BUCKET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment