1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-06 10:23:39 +02:00

Set up continuous deployment (#70)

* Add build step to circleci config

* Add deploy job to circleci

* Configure test → build → deploy as a cascade and ensure `public` exists when building

* Add deploy key

* Deploy only on master

* Remove ssh keys from build step

* Remove travis-ci

* Move build-report into task and update README.md
This commit is contained in:
heyarne 2019-12-14 11:35:07 +01:00 committed by GitHub
commit 6e17c254c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 81 additions and 865 deletions

View file

@ -5,11 +5,12 @@
"main": "index.js",
"scripts": {
"build:cljs": "shadow-cljs release app",
"build:cljs-report": "shadow-cljs run shadow.cljs.build-report app public/build-report.html",
"build:sass": "node-sass --output-style compressed src/sass/app.sass | postcss -o public/app/app.css",
"build": "rm -r public/*; run-p copy:* build:*",
"build": "mkdir -p public; rm -r public/*; run-p copy:* build:*",
"copy:assets": "cp -R src/assets/* public/",
"copy:icons": "cp -R node_modules/open-iconic/font/fonts public",
"deploy": "npm run build && gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"",
"deploy": "gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"",
"dev:cljs": "shadow-cljs watch app test",
"dev:sass": "node-sass -w src/sass/app.sass -o public/app",
"dev:test": "karma start --reporters notify,progress --auto-watch",