Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

deploy to firebase using trivis

// get token in terminal
$ firebase login:ci
$ // token here

// add token to travis  settings

// create file .travis.yaml
language: node_js
node_js: 
  - "12"
script:
  - npm install
  - npm run build
  - echo "Deploying!"
install:
  - npm install -g firebase-tools
after_success:
  - firebase deploy --token $FIREBASE_TOKEN
  
  
$ firebase init

$ git push

// done
Comment

PREVIOUS NEXT
Code Example
Shell :: redux 
Shell :: docker-proxy port 80 
Shell :: git deleted files update 
Shell :: how to make ngrok not expired 
Shell :: how to make maven clean install faster in eclipse 
Shell :: ubuntu useradd 
Shell :: linux get uuid of disk 
Shell :: Best way to change the file extension in powershell 
Shell :: powershell import-certificate trusted publisher 
Shell :: how to make migrations in models in django 
Shell :: linux edit crontab via script 
Shell :: git discard changes 
Shell :: rename git repository command line 
Shell :: flutter desktop 
Shell :: how to use yes command in linux 
Shell :: time is not updating from internet ubuntu 
Shell :: bash copy folder 
Shell :: instal ansible centos 7 
Shell :: mount is fstab 
Shell :: systemctl enable service 
Shell :: git merge conflict resolve 
Shell :: letsencrypt domain fetch /.well-known error 
Shell :: move to folder in command line windows 
Shell :: how to use scp 
Shell :: ssh bad owner permissions 
Shell :: linux nano how to go to a certain line 
Shell :: admob expo 
Shell :: shell cd 
Shell :: how to revert a commit in git 
Shell :: ssh set owner 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =