Publish all www files
Use rsync so that .htaccess gets also copied from www/.htaccess to publish-docs/.htaccess Change-Id: I48ef2d965c8aad2cb1b74e85f7db3d9c41624e77
This commit is contained in:
parent
95e74bc3a3
commit
462f292214
6
tox.ini
6
tox.ini
@ -12,6 +12,7 @@ whitelist_externals =
|
|||||||
cp
|
cp
|
||||||
mkdir
|
mkdir
|
||||||
rm
|
rm
|
||||||
|
rsync
|
||||||
sed
|
sed
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
@ -43,8 +44,9 @@ commands =
|
|||||||
# We only publish changed manuals.
|
# We only publish changed manuals.
|
||||||
openstack-doc-test --check-build --publish
|
openstack-doc-test --check-build --publish
|
||||||
# Now publish www as well, we cannot do this from
|
# Now publish www as well, we cannot do this from
|
||||||
# openstack-doc-test.
|
# openstack-doc-test. Use rsync so that .htaccess gets also
|
||||||
bash -c "cp -a www/* publish-docs/"
|
# copied.
|
||||||
|
rsync -a www/ publish-docs/
|
||||||
|
|
||||||
[testenv:checklang]
|
[testenv:checklang]
|
||||||
# Generatedocbook needs xml2po which cannot be installed
|
# Generatedocbook needs xml2po which cannot be installed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user