|
80 | 80 | bundle exec jekyll build |
81 | 81 | cp python/sitemap.xml _site/python/sitemap.xml |
82 | 82 | rm _data/mapbox_token.yml |
83 | | - mkdir snapshots |
84 | | - cd _site |
85 | | - cp -r 'all_static' '../snapshots' |
86 | | - cp 'api/index.html' '../snapshots' |
87 | | - cp --parents 'python/index.html' '../snapshots' |
88 | | - cp --parents 'python/getting-started/index.html' '../snapshots' |
89 | | - cp --parents 'python/plotly-fundamentals/index.html' '../snapshots' |
90 | | - cp --parents 'python/line-and-scatter/index.html' '../snapshots' |
91 | | - cp --parents 'r/index.html' '../snapshots' |
92 | | - cp --parents 'r/getting-started/index.html' '../snapshots' |
93 | | - cp --parents 'r/plotly-fundamentals/index.html' '../snapshots' |
94 | | - cp --parents 'r/line-and-scatter/index.html' '../snapshots' |
95 | | - cp --parents 'javascript/index.html' '../snapshots' |
96 | | - cp --parents 'javascript/plotly-fundamentals/index.html' '../snapshots' |
97 | | - cp --parents 'javascript/getting-started/index.html' '../snapshots' |
98 | | - cp --parents 'javascript/line-and-scatter/index.html' '../snapshots' |
99 | | - cp --parents 'ggplot2/index.html' '../snapshots' |
100 | | - cp --parents 'ggplot2/getting-started/index.html' '../snapshots' |
101 | | - cp --parents 'ggplot2/histograms/index.html' '../snapshots' |
102 | | - cp --parents 'matlab/index.html' '../snapshots' |
103 | | - cp --parents 'matlab/getting-started/index.html' '../snapshots' |
104 | | - cp --parents 'matlab/graphing-multiple-chart-types/index.html' '../snapshots' |
105 | | - cp --parents 'matlab/histograms/index.html' '../snapshots' |
106 | | - cp --parents 'csharp/index.html' '../snapshots' |
107 | | - cp --parents 'csharp/getting-started/index.html' '../snapshots' |
108 | | - cd .. |
109 | | - rm -f 'snapshots/all_static/javascripts/jquery-knob/index.html' |
110 | | - rm -f 'snapshots/all_static/images/Plotly-feed2.html' |
111 | | - rm -f 'snapshots/all_static/images/Plotly.html' |
112 | | - rm -f 'snapshots/all_static/images/Plotly-Feed.html' |
113 | | - rm -f snapshots/*.bkp |
114 | | - rm -f snapshots/*/*.bkp |
115 | | - rm -f snapshots/*/*/*.bkp |
116 | | - bundle exec percy snapshot snapshots --enable_javascript |
117 | | - rm -rf 'snapshots/' |
118 | 83 | if [ "${CIRCLE_BRANCH}" == "master" ]; then |
119 | 84 | git clone --depth=1 --branch=gh-pages https://github.com/plotly/documentation.git |
120 | 85 | git config user.name plotlydocbot |
|
0 commit comments