Skip to content

Commit

Permalink
Deploy to Firebase (with CircleCI)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyghiuta committed Jan 12, 2019
1 parent 67a557a commit 2f507ff
Show file tree
Hide file tree
Showing 8 changed files with 3,205 additions and 17 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,27 @@ jobs:

# run tests!
- run: npm run test:unit
deploy:
docker:
# specify the version you desire here
- image: circleci/node:10.13.0
working_directory: ~/repo

steps:
- run: npm run build:example
- run:
name: Deploy Master to Firebase
command: ./node_modules/.bin/firebase deploy --token=$FIREBASE_DEPLOY_TOKEN

workflows:
version: 2

-build-and-deploy:
jobs:
- build
- deploy:
requires:
- build
filters:
branches:
only: master
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "vueadvancedselect"
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ yarn-error.log*
*.sw*

/proj.sublime-workspace
.firebase
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ npm install @myena/advanced-select
- Vue 2
- Bootstrap 3

## Usage:
## Demo & Usage:

See App.vue
https://vueadvancedselect.firebaseapp.com/
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "example",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading

0 comments on commit 2f507ff

Please sign in to comment.