Skip to content

Commit 077c8df

Browse files
author
sachin-maheshwari
authored
Merge pull request #264 from topcoder-platform/dev
CI/CD Auth0 static files deployment
2 parents 65c387e + 740d95a commit 077c8df

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,17 @@ builddeploy_steps: &builddeploy_steps
2929
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
3030
source buildenvvar
3131
./build.sh
32+
./buildstatic.sh
3233
- deploy:
3334
name: Running MasterScript.
3435
command: |
3536
source awsenvconf
3637
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar
3738
source buildenvvar
3839
./master_deploy.sh -d CFRONT -e $DEPLOY_ENV -c true
40+
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-static-deployvar
41+
source buildenvvar
42+
./master_deploy.sh -d CFRONT -e $DEPLOY_ENV -c true
3943
4044
jobs:
4145
# Build & Deploy against development backend

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
package-lock.json
3+
.DS_Store

buildstatic.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
set -eo pipefail
3+
4+
mkdir diststatic
5+
cp -rv ./web-assets/auth0/css ./diststatic/
6+
cp -rv ./web-assets/auth0/js ./diststatic/
7+
cp -rv ./web-assets/auth0/images ./diststatic/

web-assets/auth0/images/bg.png

578 KB
Loading
187 KB
Loading

0 commit comments

Comments
 (0)