Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

deploy github actions with firebase

steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
  with:
  node-version: '10.x'
- run: npm install
- run: npm run build:prod
- uses: w9jds/firebase-action@master
  with:
    args: deploy --only hosting
  env:
    FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
Source by fireship.io #
 
PREVIOUS NEXT
Tagged: #deploy #github #actions #firebase
ADD COMMENT
Topic
Name
6+4 =