Last active
          December 23, 2019 02:36 
        
      - 
      
- 
        Save Overdrivr/e3f90cabf71da10b7f30c698f3e02cbe to your computer and use it in GitHub Desktop. 
    Deploy static-files from Gitlab-CI to Firebase
  
        
  
    
      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
    
  
  
    
  | # 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