Skip to content

Commit ad29167

Browse files
committed
Add live demo of render_patterns output
1 parent 8d4b6eb commit ad29167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
# Demo website build.
3636
- wget --mirror --page-requisites --no-parent --no-verbose http://localhost:8000/django-pattern-library/demo/pattern-library/
3737
- mv localhost:8000/django-pattern-library/demo site
38+
# Demo render_patterns.
39+
- poetry run django-admin render_patterns --settings=tests.settings.production --pythonpath=. --wrap-fragments --output=site/dpl-rendered-patterns
3840
# Package build, incl. publishing an experimental pre-release via GitHub Pages for builds on `master`.
3941
- cat pyproject.toml| awk '{sub(/^version = .+/,"version = \"0.0.0.dev\"")}1' > pyproject.toml.tmp && mv pyproject.toml.tmp pyproject.toml
4042
- poetry build

0 commit comments

Comments
 (0)