Skip to content

Commit

Permalink
push to fdr dev
Browse files Browse the repository at this point in the history
  • Loading branch information
RohinBhargava committed Oct 9, 2024
1 parent d7a4fe6 commit 7547c09
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/deploy-fdr-dev.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: Deploy FDR Dev

on:
push:
branches:
- main
paths:
- "fern/apis/fdr/**"
- "fern/fern.config.json"
- "servers/fdr-deploy/**"
- "servers/fdr/**"
- ".github/workflows/deploy-fdr-dev.yml"
- ".github/workflows/publish-fdr-sdk.yml"
- "packages/fdr-sdk/**"
- "pnpm-lock.yaml"
pull_request
# push:
# branches:
# - main
# paths:
# - "fern/apis/fdr/**"
# - "fern/fern.config.json"
# - "servers/fdr-deploy/**"
# - "servers/fdr/**"
# - ".github/workflows/deploy-fdr-dev.yml"
# - ".github/workflows/publish-fdr-sdk.yml"
# - "packages/fdr-sdk/**"
# - "pnpm-lock.yaml"

env:
PACKAGE_NAME: "@fern-platform/fdr"
Expand Down Expand Up @@ -75,15 +76,15 @@ jobs:
# env:
# DATABASE_URL: ${{ secrets.DEV_POSTGRES_URL }}/fdr?schema=public

- name: 🚀 cdk deploy
run: |
git_version="$(scripts/git-version.sh)"
pnpm --filter=@fern-platform/fdr run docker:dev "${git_version}"
npm install -g aws-cdk
cd servers/fdr-deploy
VERSION="${git_version}" pnpm --filter=@fern-platform/fdr-deploy deploy:dev
env:
DATABASE_URL: ${{ secrets.DEV_POSTGRES_URL }}/fdr?schema=public
# - name: 🚀 cdk deploy
# run: |
# git_version="$(scripts/git-version.sh)"
# pnpm --filter=@fern-platform/fdr run docker:dev "${git_version}"
# npm install -g aws-cdk
# cd servers/fdr-deploy
# VERSION="${git_version}" pnpm --filter=@fern-platform/fdr-deploy deploy:dev
# env:
# DATABASE_URL: ${{ secrets.DEV_POSTGRES_URL }}/fdr?schema=public

smoke-test:
needs: deploy_dev
Expand Down

0 comments on commit 7547c09

Please sign in to comment.