diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2021-07-02 16:15:26 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2021-07-02 16:15:26 +0300 |
| commit | e55c786ad7993310cc6c4aa39c63188404c9ce04 (patch) | |
| tree | 6539b32c4105800b5757ec3428da448fcfb7ad54 /.github/workflows/tomi.science.yml | |
| parent | 51379ac0fad7b44fb39201a12ef3817894c1ea41 (diff) | |
Fix workflowHEAD2021.07_07main
Diffstat (limited to '.github/workflows/tomi.science.yml')
| -rw-r--r-- | .github/workflows/tomi.science.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/tomi.science.yml b/.github/workflows/tomi.science.yml index 5230fb1..dd4ecf7 100644 --- a/.github/workflows/tomi.science.yml +++ b/.github/workflows/tomi.science.yml @@ -74,6 +74,10 @@ jobs: - name: Push backend image to registry run: docker push ${IMAGE_AND_TAG} + # Build frontend + - name: Build frontend + run: cd frontend && npm ci && npm run build && npm run export + # Deploy backend to Google Cloud Run - name: Deploy backend to Cloud Run run: |- @@ -86,11 +90,7 @@ jobs: --set-env-vars=${GCR_ENV_VARS} \ --image=${IMAGE_AND_TAG} - # Build frontend - - name: Build frontend - run: cd frontend && npm ci && npm run build && npm run export - # Deploy frontend to GCS - name: Deploy frontend to GCS run: |- - gsutil -h "Cache-Control: no-store, max-age=0" cp -r out/* ${{ env.GCS_BUCKET }} + cd frontend && gsutil -h "Cache-Control: no-store, max-age=0" cp -r out/* ${{ env.GCS_BUCKET }} |
