Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-bach committed May 21, 2024
1 parent 14d0495 commit 2de1861
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,27 @@ jobs:
echo NEXT_PUBLIC_APPSYNC_REGION=${{ secrets.REGION }} >> .env
working-directory: frontend

# - name: πŸš€ Deploy Backend
# run: npm run deploy-backend-prod
# working-directory: infrastructure

- name: 🚧 Build Backend
run: |
npm run codegen
npm run build-appsync
find ../backend -mindepth 3 -maxdepth 3 -type f -name 'package.json' |
while IFS= read -r file; do
echo "🚧 Building $file"
cd "$(dirname "$file")"
npm run build
cd - >/dev/null
done
working-directory: infrastructure

- name: πŸš€ Deploy Backend
run: npm run deploy-backend-prod
run: |
echo "πŸš€ Deploying backend prod"
npm run cdk -- deploy --all -c stage=backend -c env=prod --require-approval=never
working-directory: infrastructure

# - name: πŸš€ Deploy Frontend
Expand Down

0 comments on commit 2de1861

Please sign in to comment.