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
|
||||
mkdir
|
||||
rm
|
||||
rsync
|
||||
sed
|
||||
|
||||
[testenv:venv]
|
||||
@ -43,8 +44,9 @@ commands =
|
||||
# We only publish changed manuals.
|
||||
openstack-doc-test --check-build --publish
|
||||
# Now publish www as well, we cannot do this from
|
||||
# openstack-doc-test.
|
||||
bash -c "cp -a www/* publish-docs/"
|
||||
# openstack-doc-test. Use rsync so that .htaccess gets also
|
||||
# copied.
|
||||
rsync -a www/ publish-docs/
|
||||
|
||||
[testenv:checklang]
|
||||
# Generatedocbook needs xml2po which cannot be installed
|
||||
|
Loading…
x
Reference in New Issue
Block a user