Update fitlien-services-pipeline.yaml
This commit is contained in:
parent
f5e98e378b
commit
964831c765
@ -30,6 +30,15 @@ steps:
|
||||
command: "install"
|
||||
workingDir: "$(System.DefaultWorkingDirectory)/functions"
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: "npm install"
|
||||
inputs:
|
||||
script: |
|
||||
"rm -rf node_modules"
|
||||
"rm package-lock.json"
|
||||
"npm install --frozen-lockfile"
|
||||
workingDirectory: "$(System.DefaultWorkingDirectory)/functions"
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: "Set version in package.json"
|
||||
inputs:
|
||||
@ -67,7 +76,7 @@ steps:
|
||||
- task: CmdLine@2
|
||||
displayName: "Deploy functions to firebase"
|
||||
inputs:
|
||||
script: firebase deploy --only functions --token $(FIREBASE_TOKEN)
|
||||
script: firebase deploy --only functions --token "$(FIREBASE_TOKEN)"
|
||||
workingDirectory: "$(System.DefaultWorkingDirectory)"
|
||||
|
||||
- task: DeleteFiles@1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user