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.

Revisions

  1. Overdrivr revised this gist Mar 22, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .gitlab-ci.yml
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # See
    # See https://blog.cronobo.com/2018/03/22/deploy-firebase-from-gitlab-ci.html

    stages:
    - deploy
  2. Overdrivr created this gist Mar 22, 2018.
    16 changes: 16 additions & 0 deletions .gitlab-ci.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    # See

    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