Skip to content

Commit

Permalink
Transfer files of depended-on apps before transferring files of the a…
Browse files Browse the repository at this point in the history
…ctual app
  • Loading branch information
bperel committed Nov 4, 2024
1 parent 7ce5da4 commit 0e6d010
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Retrieve pre-build files
run: |
pnpm i -g turbo
turbo -F "...[$lastSuccessfulCommit]" -F '!~ci' -F '!~dumili' -F '!~dumili-api' prod:transfer-files-pre
turbo -F "...[$lastSuccessfulCommit]" -F '!~dumili' -F '!~dumili-api' prod:transfer-files-pre
- name: Build apps
run: |
Expand Down
6 changes: 6 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
]
},
"prod:transfer-files-pre": {
"dependsOn": [
"^prod:transfer-files-pre"
],
"passThroughEnv": [
"REMOTE_ROOT",
"PRODUCTION_SSH_HOST",
Expand All @@ -39,6 +42,9 @@
]
},
"prod:transfer-files-post": {
"dependsOn": [
"^prod:transfer-files-post"
],
"passThroughEnv": [
"REMOTE_ROOT",
"PRODUCTION_SSH_HOST",
Expand Down

0 comments on commit 0e6d010

Please sign in to comment.