diff --git a/.github/workflows/deploy-langgraph.yml b/.github/workflows/deploy-langgraph.yml index a203c7e6..10710d74 100644 --- a/.github/workflows/deploy-langgraph.yml +++ b/.github/workflows/deploy-langgraph.yml @@ -35,19 +35,11 @@ jobs: - name: Install dependencies run: yarn install --immutable --mode=skip-build - - name: Build packages - run: yarn build - - - name: Compile deployment script - run: | - cd apps/open-swe - yarn tsc --module commonjs --skipLibCheck --outDir ./dist/scripts ./scripts/deploy-langgraph.ts - mv ./dist/scripts/deploy-langgraph.js ./dist/scripts/deploy-langgraph.cjs - - name: Execute deployment run: | cd apps/open-swe - node ./dist/scripts/deploy-langgraph.cjs + yarn tsx ./scripts/deploy-langgraph.ts + env: CONTROL_PLANE_HOST: ${{ secrets.CONTROL_PLANE_HOST }} LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }}