Reputation: 497
I try to deploy my angular application on firebase using gitlab pipeline.
I followed this guide and I write a gitlab-ci file more simplified for starting.
image: node:latest
cache:
paths:
- node-modules/
stages:
- deploy
deploy:
stage: deploy
environment:
name: development
script:
- npm install -g firebase-tools
- npm install
- npm run builddev
- npm run deploy
only:
- master
Everything work until last command when I have this error
but if from terminal I run
firebase deploy --project test-1c121
everything work fine
Upvotes: 0
Views: 394
Reputation: 301
Check your package.json
file in scripts
section. You probably have a typo in deploy
because npm runs into problem with running firebse command and you want to run firebase.
Upvotes: 1