Skip to content

Commit

Permalink
fix(stacks.web): correct step ordering of install->build for deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Sep 23, 2023
1 parent 6c00387 commit ecba0f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-crisiscleanup-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ jobs:
ref: master
repository: CrisisCleanup/crisiscleanup-4-web
path: .crisiscleanup-4-web
- name: Build Web
working-directory: .crisiscleanup-4-web
run: pnpm build:app
- name: Install Web
working-directory: .crisiscleanup-4-web
run: pnpm install
- name: Build Web
working-directory: .crisiscleanup-4-web
run: pnpm build:app
- name: Authenticate Via OIDC Role
uses: aws-actions/configure-aws-credentials@v1-node16
with:
Expand Down
8 changes: 4 additions & 4 deletions packages/stacks/web/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ const pipeline = GithubCodePipeline.create({
},
})
.synthPreStep({
name: 'Install Web',
name: 'Build Web',
workingDirectory: '.crisiscleanup-4-web',
run: 'pnpm install',
run: 'pnpm build:app',
})
.synthPreStep({
name: 'Build Web',
name: 'Install Web',
workingDirectory: '.crisiscleanup-4-web',
run: 'pnpm build:app',
run: 'pnpm install',
})
.synthCheckout({
ref: 'master',
Expand Down

0 comments on commit ecba0f2

Please sign in to comment.