Skip to content

Instantly share code, notes, and snippets.

@segovia94
Created June 28, 2018 23:59
Show Gist options
  • Save segovia94/3d1eaa49161d5efe7b25a21a49cd5367 to your computer and use it in GitHub Desktop.
Save segovia94/3d1eaa49161d5efe7b25a21a49cd5367 to your computer and use it in GitHub Desktop.
Bitbucket Pipelines Firebase deploy recipe (used for project built with Nuxt.js)
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