Merge pull request #2 from fmartingr/firebase

Firebase for deploys
This commit is contained in:
Felipe 2016-12-26 10:50:30 +01:00 committed by GitHub
commit a14ce75cca
6 changed files with 16 additions and 5 deletions

5
.firebaserc Normal file
View file

@ -0,0 +1,5 @@
{
"projects": {
"default": "fmartingrcom"
}
}

3
.gitignore vendored
View file

@ -15,3 +15,6 @@ assets/static/css
# Tests # Tests
tests/venv tests/venv
# Build
public

View file

@ -6,6 +6,3 @@ url_style = absolute
[packages] [packages]
lektor-markdown-highlighter = 0.1 lektor-markdown-highlighter = 0.1
lektor-atom = 0.2 lektor-atom = 0.2
[servers.production]
target = rsync://fmartingrcom@static-1.scaleway.fra1.ops.fmartingr.com/var/www/fmartingr.com/html

View file

@ -8,14 +8,14 @@ dev:
build: build:
make dev make dev
lektor build lektor build --output-path ./public
watch: watch:
node_modules/gulp/bin/gulp.js sass:watch node_modules/gulp/bin/gulp.js sass:watch
deploy: deploy:
make build make build
lektor deploy node_modules/firebase-tools/bin/firebase deploy
deploy_tests: deploy_tests:
bash tests/run.sh bash tests/run.sh

5
firebase.json Normal file
View file

@ -0,0 +1,5 @@
{
"hosting": {
"public": "public"
}
}

View file

@ -4,6 +4,7 @@
"description": "fmartingr.com", "description": "fmartingr.com",
"main": "gulpfile.js", "main": "gulpfile.js",
"devDependencies": { "devDependencies": {
"firebase-tools": "^3.2.1",
"gulp": "^3.9.0", "gulp": "^3.9.0",
"gulp-concat": "^2.6.0", "gulp-concat": "^2.6.0",
"gulp-concat-css": "^2.2.0", "gulp-concat-css": "^2.2.0",