-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial drafts automation features. Does not yet register or reac…
…t to webhooks but builds nightly instead.
- Loading branch information
Ludwig Schubert
committed
Jan 9, 2018
1 parent
6e7af1a
commit f0ad928
Showing
7 changed files
with
565 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
node_modules | ||
public | ||
public/* | ||
build/* | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.