This commit is contained in:
Shams mosowi
2020-03-24 18:10:38 +08:00
parent 0e5b3a79a6
commit abc6848d24

View File

@@ -14,20 +14,17 @@ jobs:
firebase-deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest
env:
working-directory: ./www
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
run: cd www
- uses: borales/actions-yarn@v2.0.0
with:
cmd: install # will run `yarn install` command
working-directory: ${{env.working-directory}}
- uses: borales/actions-yarn@v2.0.0
with:
cmd: build # will run `yarn install` command
working-directory: ${{env.working-directory}}
- uses: w9jds/firebase-action@master
with:
args: deploy --only hosting