diff --git a/.github/workflows/firebase_hosting.yml b/.github/workflows/firebase_hosting.yml index 368d5b25..e5641171 100644 --- a/.github/workflows/firebase_hosting.yml +++ b/.github/workflows/firebase_hosting.yml @@ -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