Closed MarkEdmondson1234 closed 3 years ago
So far:
language: r
cache: packages
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
## non R-package installation
- Rscript -e 'install.packages("devtools")'
- Rscript -e 'devtools::install_github("rstudio/blogdown")'
install:
- Rscript -e 'blogdown::install_hugo()'
- Rscript -e 'blogdown::install_theme("digitalcraftsman/hugo-icarus-theme")'
script: ./deploy.sh
after_success: echo "Done"
False positive success https://travis-ci.org/MarkEdmondson1234/markedmondson.me-hugo/builds/194266425
May not bother and just use the build button
Run the deploy script upon a github push