mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Add deploy job to circleci
This commit is contained in:
parent
3a172bf1e4
commit
8c484abf00
3 changed files with 28 additions and 2 deletions
|
|
@ -66,10 +66,12 @@ $ npm test
|
|||
# build and optimize the code once for production
|
||||
$ npm run build
|
||||
|
||||
# runs npm run build and publishes everything via gh-pages
|
||||
# publishes everything via gh-pages
|
||||
$ npm run deploy
|
||||
```
|
||||
|
||||
There is continuous deployment set up on [circleci](https://circleci.com/gh/heyarne/airsonic-ui) that builds and deploys to `gh-pages` after a commit to the `master` branch.
|
||||
|
||||
**Note:** If you have a continuous build running and run `npm run build` or `npm run deploy`, it will delete the compiled tests, causing the continuous tests to not run anymore. This can be fixed by running `npm test` again.
|
||||
|
||||
All build artifacts land in `/public`. Don't change anything in there as changes will be overwritten.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue