aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/firebase-hosting-pull-request.yml
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-01 16:00:41 -0800
committerjackyzha0 <[email protected]>2021-03-01 16:00:41 -0800
commitdd0da6f4f52322170b3a3164e89b84181cbbb907 (patch)
treee2fc422d99565a134835a603bcd473dd689298d7 /.github/workflows/firebase-hosting-pull-request.yml
parentMerge branch 'master' of https://github.com/jackyzha0/ctrl-v (diff)
downloadctrl-v-dd0da6f4f52322170b3a3164e89b84181cbbb907.tar.xz
ctrl-v-dd0da6f4f52322170b3a3164e89b84181cbbb907.zip
add workdir cmd
Diffstat (limited to '.github/workflows/firebase-hosting-pull-request.yml')
-rw-r--r--.github/workflows/firebase-hosting-pull-request.yml3
1 files changed, 3 insertions, 0 deletions
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