Skip to content

Commit

Permalink
Add initial drafts automation features. Does not yet register or reac…
Browse files Browse the repository at this point in the history
…t to webhooks but builds nightly instead.
  • Loading branch information
Ludwig Schubert committed Jan 9, 2018
1 parent 6e7af1a commit f0ad928
Show file tree
Hide file tree
Showing 7 changed files with 565 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
public
public/*
build/*
.env
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- "node" # latest version
cache:
directories:
- node_modules
script:
- npm run build
before_deploy:
- cd functions && npm install && cd ..
deploy:
provider: firebase
skip_cleanup: true
token: $FIREBASE_PRODUCTION_TOKEN
Empty file added build/.gitkeep
Empty file.
16 changes: 14 additions & 2 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"hosting": {
"public": "public"
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"redirects": [
{
"source" : "/index.html",
"destination" : "https://distill.pub",
"type" : 302
}
]
}
}
}
Loading

0 comments on commit f0ad928

Please sign in to comment.