Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
ci: 👷 re-enable services deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ecxyzzy committed Feb 2, 2024
1 parent 7fe48da commit 4b1b7f9
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,27 +80,27 @@ jobs:

- name: Deploy documentation CloudFormation stack
run: pnpm --filter="@tools/cdk" docs deploy
# deploy-services:
# name: Deploy services CloudFormation stack and production environment
#
# runs-on: ubuntu-latest
#
# environment:
# name: production-services
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
#
# - name: Setup Node.js and pnpm
# uses: ./.github/actions/setup-node-and-pnpm
#
# - name: Install dependencies
# # Ensure NODE_ENV != production so pnpm will install devDependencies!!!
# run: NODE_ENV=development pnpm install --frozen-lockfile
#
# - name: Build services
# run: pnpm build --filter="@services/*"
#
# - name: Deploy stack
# run: pnpm --filter="@tools/cdk" services deploy
deploy-services:
name: Deploy services CloudFormation stack and production environment

runs-on: ubuntu-latest

environment:
name: production-services

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Setup Node.js and pnpm
uses: ./.github/actions/setup-node-and-pnpm

- name: Install dependencies
# Ensure NODE_ENV != production so pnpm will install devDependencies!!!
run: NODE_ENV=development pnpm install --frozen-lockfile

- name: Build services
run: pnpm build --filter="@services/*"

- name: Deploy stack
run: pnpm --filter="@tools/cdk" services deploy

0 comments on commit 4b1b7f9

Please sign in to comment.