Skip to content

Commit 4f60086

Browse files
committed
Create "publish" make target to replace migrations-php.yaml
1 parent 72975e0 commit 4f60086

File tree

3 files changed

+5
-398
lines changed

3 files changed

+5
-398
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ STAGING_BUCKET=docs-mongodb-org-staging
66
PRODUCTION_BUCKET=docs-mongodb-org-prod
77
PREFIX=php-library
88

9-
.PHONY: help stage fake-deploy deploy
9+
.PHONY: help publish stage fake-deploy deploy
1010

1111
help:
1212
@echo 'Targets'
@@ -18,6 +18,10 @@ help:
1818
@echo 'Variables'
1919
@echo ' ARGS - Arguments to pass to mut-publish'
2020

21+
publish:
22+
rsync -a --delete build/php-library/docs/ source/
23+
giza make publish
24+
2125
stage:
2226
mut-publish build/${GIT_BRANCH}/html ${STAGING_BUCKET} --prefix=${PREFIX} --stage ${ARGS}
2327
@echo "Hosted at ${STAGING_URL}/${PREFIX}/${USER}/${GIT_BRANCH}/index.html"

config/build_conf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ system:
2121
- 'sphinx_local.yaml'
2222
- 'push.yaml'
2323
- htaccess: ['htaccess.yaml']
24-
- migrations: 'migrations-php.yaml'
2524
assets:
2625
- branch: master
2726
path: build/docs-tools

0 commit comments

Comments
 (0)