Skip to content

Commit 70ea884

Browse files
committed
public static file deployment
1 parent 956ff3e commit 70ea884

File tree

4 files changed

+12
-0
lines changed

4 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/
187 KB
Loading

0 commit comments

Comments
 (0)