Skip to content

Instantly share code, notes, and snippets.

@Overdrivr
Last active December 23, 2019 02:36
Show Gist options
  • Save Overdrivr/e3f90cabf71da10b7f30c698f3e02cbe to your computer and use it in GitHub Desktop.
Save Overdrivr/e3f90cabf71da10b7f30c698f3e02cbe to your computer and use it in GitHub Desktop.
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