diff --git a/.github/workflows/deploy-fdr-dev.yml b/.github/workflows/deploy-fdr-dev.yml index 47efcb7fa9..44148d68ad 100644 --- a/.github/workflows/deploy-fdr-dev.yml +++ b/.github/workflows/deploy-fdr-dev.yml @@ -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" @@ -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