diff options
| author | jackyzha0 <[email protected]> | 2021-03-01 16:00:41 -0800 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2021-03-01 16:00:41 -0800 |
| commit | dd0da6f4f52322170b3a3164e89b84181cbbb907 (patch) | |
| tree | e2fc422d99565a134835a603bcd473dd689298d7 /.github/workflows | |
| parent | Merge branch 'master' of https://github.com/jackyzha0/ctrl-v (diff) | |
| download | ctrl-v-dd0da6f4f52322170b3a3164e89b84181cbbb907.tar.xz ctrl-v-dd0da6f4f52322170b3a3164e89b84181cbbb907.zip | |
add workdir cmd
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/firebase-hosting-merge.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/firebase-hosting-pull-request.yml | 3 |
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 |