Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Deploy static-files from Gitlab-CI to Firebase
# See https://blog.cronobo.com/2018/03/22/deploy-firebase-from-gitlab-ci.html
stages:
- deploy
deploy:
image: node:8
stage: deploy
environment: production
script:
- npm install -g firebase-tools
- firebase -V
- cd ./dist
- firebase deploy --token "$FIREBASE_TOKEN" -P <my-firebase-project>
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.