Created
June 28, 2018 23:59
-
-
Save segovia94/3d1eaa49161d5efe7b25a21a49cd5367 to your computer and use it in GitHub Desktop.
Bitbucket Pipelines Firebase deploy recipe (used for project built with Nuxt.js)
This file contains hidden or 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
image: node:8.9.0 | |
pipelines: | |
branches: | |
master: | |
- step: | |
name: Build and test | |
caches: | |
- node | |
script: | |
- npm install | |
- npm run lint | |
- npm run generate | |
artifacts: | |
- dist/** | |
- step: | |
name: Deploy to production | |
deployment: production | |
script: | |
- npm install -g [email protected] | |
- firebase deploy --token "$FIREBASE_TOKEN" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment