aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
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
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')
-rw-r--r--.github/workflows/firebase-hosting-merge.yml3
-rw-r--r--.github/workflows/firebase-hosting-pull-request.yml3
2 files changed, 6 insertions, 0 deletions
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