Skip to content

Commit

Permalink
Add entrypoint file
Browse files Browse the repository at this point in the history
  • Loading branch information
lewandy committed Nov 3, 2020
1 parent b1884bb commit ec9111a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

#Move to app rource code
cd $INPUT_APP_SOURCE_CODE

#Install dependencies
npm install

#Build application
npm run build

#Sync files with amazon s3 bucket app
aws --region $INPUT_AWS_DEFAULT_REGION s3 sync ./dist s3://$INPUT_AWS_BUCKET_NAME --delete

0 comments on commit ec9111a

Please sign in to comment.