File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,11 @@ html: migrate ## Builds this branch's HTML under build/<branch>/html
28
28
29
29
publish-build-only : # # Builds this branch's publishable HTML and other artifacts under build/public
30
30
giza make publish
31
+ if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
31
32
32
33
publish : migrate # # Build publishable artifacts, and also migrates assets
33
34
giza make publish
35
+ if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
34
36
35
37
stage : # # Host online for review
36
38
mut-publish build/${GIT_BRANCH} /html ${STAGING_BUCKET} --prefix=${PROJECT} --stage ${ARGS}
@@ -41,7 +43,6 @@ fake-deploy: build/public/${GIT_BRANCH} ## Create a fake deployment in the stagi
41
43
@echo " Hosted at ${STAGING_URL} /${PROJECT} /${GIT_BRANCH} /index.html"
42
44
43
45
deploy : build/public/${GIT_BRANCH} # # Deploy to the production bucket
44
- if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
45
46
mut-publish build/public/ ${PRODUCTION_BUCKET} --prefix=${PROJECT} --deploy --redirects build/public/.htaccess ${ARGS}
46
47
47
48
@echo "Hosted at ${PRODUCTION_URL}/${PROJECT}/${GIT_BRANCH}"
You can’t perform that action at this time.
0 commit comments