Skip to content

Commit da7c0fd

Browse files
rootroot
authored andcommitted
fixed path
1 parent 5d63234 commit da7c0fd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,17 +306,17 @@ terrahub configure -i static_website -c component.template.variable -D -y
306306
terrahub configure -i static_website -c build.env.variables.THUB_ENV='dev'
307307
terrahub configure -i static_website -c build.env.variables.THUB_INDEX_FILE='www.txt'
308308
terrahub configure -i static_website -c build.env.variables.THUB_GS_PATH="gs://${STORAGE_BUCKET}_website"
309-
terrahub configure -i static_website -c build.env.variables.THUB_ROBOTS='../../robots.dev.txt'
310-
terrahub configure -i static_website -c build.env.variables.THUB_BUILD_PATH='../../build'
311-
terrahub configure -i static_website -c build.env.variables.THUB_SOURCE_PATH='../../assets ../../static/fonts ../../static/img ../../views'
309+
terrahub configure -i static_website -c build.env.variables.THUB_ROBOTS='../www/robots.dev.txt'
310+
terrahub configure -i static_website -c build.env.variables.THUB_BUILD_PATH='../www/build'
311+
terrahub configure -i static_website -c build.env.variables.THUB_SOURCE_PATH='../www/assets ../www/static/fonts ../www/static/img ../www/views'
312312
terrahub configure -i static_website -c build.env.variables.THUB_BUILD_OK='false'
313313
terrahub configure -i static_website -c build.env.variables.THUB_MAX_AGE='600'
314314
terrahub configure -i static_website -c build.phases.pre_build.commands[0]='echo "BUILD: Running pre_build step"'
315315
terrahub configure -i static_website -c build.phases.pre_build.commands[1]='./scripts/download.sh $THUB_INDEX_FILE $THUB_GS_PATH/$THUB_INDEX_FILE'
316316
terrahub configure -i static_website -c build.phases.pre_build.commands[2]='./scripts/compare.sh $THUB_INDEX_FILE $THUB_SOURCE_PATH'
317317
terrahub configure -i static_website -c build.phases.pre_build.finally[0]='echo "BUILD: pre_build step successful"'
318318
terrahub configure -i static_website -c build.phases.build.commands[0]='echo "BUILD: Running build step"'
319-
terrahub configure -i static_website -c build.phases.build.commands[1]='../../bin/compile.sh'
319+
terrahub configure -i static_website -c build.phases.build.commands[1]='../www/bin/compile.sh'
320320
terrahub configure -i static_website -c build.phases.build.finally[0]='echo "BUILD: build step successful"'
321321
terrahub configure -i static_website -c build.phases.post_build.commands[0]='echo "BUILD: Running post_build step"'
322322
terrahub configure -i static_website -c build.phases.post_build.commands[1]='./scripts/shasum.sh $THUB_BUILD_PATH/$THUB_INDEX_FILE'

static_website/.terrahub.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ build:
3434
THUB_ENV: dev
3535
THUB_INDEX_FILE: www.txt
3636
THUB_GS_PATH: 'gs://terrahub_123456_website'
37-
THUB_ROBOTS: ../../robots.dev.txt
38-
THUB_BUILD_PATH: ../../build
39-
THUB_SOURCE_PATH: ../../assets ../../static/fonts ../../static/img ../../views
37+
THUB_ROBOTS: ../www/robots.dev.txt
38+
THUB_BUILD_PATH: ../www/build
39+
THUB_SOURCE_PATH: ../www/assets ../www/static/fonts ../www/static/img ../www/views
4040
THUB_BUILD_OK: false
4141
THUB_MAX_AGE: 600
4242
phases:
@@ -50,7 +50,7 @@ build:
5050
build:
5151
commands:
5252
- 'echo "BUILD: Running build step"'
53-
- ../../bin/compile.sh
53+
- ../www/bin/compile.sh
5454
finally:
5555
- 'echo "BUILD: build step successful"'
5656
post_build:

0 commit comments

Comments
 (0)