I have a project that builds an html site (using rust mdBook, plus scripts to generate .svg files) in target/html directory and then uploaded it to gh pages using the pages provider from my .travis.yml
It’s copying the html, js and png files - but it doesn’t seem to be deploying to the gh-pages branch the SVG files in the same folder.
Is there a way to force certain files type to be deployed to the gh-pages branch?
Here is my deploy script:
deploy: provider: pages skip-cleanup: true github-token: $GITHUB_PAGES_TOKEN local-dir: target/html keep-history: false on: branch: master
List of files in target folder to be deployed:
ls target/html/samples/prime DESCRIPTION.html generate_composites.dot.svg candidates.dot.svg generate_composites.toml composite-sequence.dot.svg manifest.json composites.dot.svg prime.dot.svg composites.toml print_all.toml context.toml remainder_zero.toml divisors.dot.svg test.arguments even.toml test.err expected.output test.input functions.dot.svg
GH pages branch for that folder: https://github.com/andrewdavidmackenzie/flow/tree/gh-pages/samples/prime that lacks the svg files listed above, but it does include some other file types like
Here is the build/deploy run on master that did the gh pages deploy: https://travis-ci.org/github/andrewdavidmackenzie/flow
It’s not very verbose in the deploy section to help understand what is included and what not.