Deploy to netlify
This commit is contained in:
parent
5628731a10
commit
d392315e1d
13
.travis.yml
13
.travis.yml
|
@ -9,14 +9,15 @@ addons:
|
||||||
packages:
|
packages:
|
||||||
- libxml2-dev
|
- libxml2-dev
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- mkdir ~/.R
|
||||||
|
- cp Makevars ~/.R
|
||||||
|
- npm install netlify-cli -g
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- Rscript -e 'bookdown::render_book("index.rmd")'
|
- Rscript -e 'bookdown::render_book("index.rmd")'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
provider: script
|
||||||
|
script: netlify deploy --dir _book
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
provider: s3
|
|
||||||
access_key_id: AKIAJ6PXDYWD72R6HBYA
|
|
||||||
secret_access_key:
|
|
||||||
secure: "KB6D4dRFyqABOUBC6q6CTI7WZQ+4kFOSDWNQFAbXJQR4TzR8J6uddAiSZyG8T1/8z+9Lm1VK417Zi0dGm3r3epbSnLClitBetvE11DoByomK+ey+NJ0MdXuXbFCJhX9l+8QDbDRLd/b2MEr36JXNaNQaLf5wdHImVVfcCm5STAIOM42plYMvz4Uhao+VjIKo+0IqiGHQHsNcU4qQXS4jd4FtO/t1xCwa7SgH0wwV2yJmeh8mM7QpmUEpBcZTHDvqZu6BitxtkYQDCh1iuBwhbPlYug/WOtyHmKYgU/c3+C+xW4OLv10OsE+eK6noEzIXQ80sPIyKMpkn+9P+7MnoRU/oZTXmYJOuXE5mvy+CiJ4TzZZxzB/g8HzklRRI4eFBmJ/zTTMmJMwBdbUhCXepARe4gr7pDFKhSTXvBVxljJBrkiGz6W1JeZ9nKzUbuIlWNJ9aaYM2UDMbRef7xyKlKbBNw1+90aTTW8Jo+0Sz3/R7daBTcnr0Bszg4QCaOMoxJJF/Ty/tTHiComAt/kNRqlSiU2g/Ch0jOz5TRV3c29OjQQ/a9ftf5pqlvgStwjjszgHQfRrd4mxGq2E/1gkPGL7ada+TWPAVjCc8HtPGK/36IjSccFB6qGkwTFf3uOBmAC2XVnJJlwG8v20nL5ZZwpCCbQANeQq/ILQsYUmk7RM="
|
|
||||||
bucket: r4ds.had.co.nz
|
|
||||||
local-dir: _book
|
|
||||||
|
|
Loading…
Reference in New Issue