From dd0da6f4f52322170b3a3164e89b84181cbbb907 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Mon, 1 Mar 2021 16:00:41 -0800 Subject: add workdir cmd --- .github/workflows/firebase-hosting-merge.yml | 3 +++ .github/workflows/firebase-hosting-pull-request.yml | 3 +++ 2 files changed, 6 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 4872417..cb4bddd 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -9,6 +9,9 @@ name: Deploy to Firebase Hosting on merge jobs: build_and_deploy: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./frontend steps: - uses: actions/checkout@v2 - run: npm run build diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 28b7d67..79c72f3 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -6,6 +6,9 @@ name: Deploy to Firebase Hosting on PR jobs: build_and_preview: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./frontend steps: - uses: actions/checkout@v2 - run: npm run build -- cgit v1.2.3