Set hosting target

This commit is contained in:
Shams mosowi
2020-04-30 14:56:35 +08:00
parent 2b5bfd1cb5
commit 2772318932
2 changed files with 7 additions and 1 deletions

View File

@@ -16,7 +16,12 @@ steps:
entrypoint: yarn
args: ["build"]
dir: "www"
- name: node:10.15.1
entrypoint: yarn
args:
- "target"
- "${_HOSTING_TARGET}"
dir: "www"
- name: node:10.15.1
entrypoint: yarn
args:

View File

@@ -58,6 +58,7 @@
},
"scripts": {
"start": "react-scripts start",
"target": "firebase target:apply hosting firetable",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",