Trying out that autodeploy
This commit is contained in:
parent
f006b56a74
commit
c48b758408
2 changed files with 15 additions and 0 deletions
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
deploy:
|
||||
provider: script
|
||||
script: deploy.sh
|
||||
on:
|
||||
branch: master
|
||||
deploy:
|
||||
local-dir: _site
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
|
||||
keep-history: true
|
||||
on:
|
||||
branch: master
|
2
deploy.sh
Normal file
2
deploy.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
npm install
|
||||
npx eleventy
|
Loading…
Add table
Reference in a new issue