mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-06 14:42:11 +00:00
ci: Fix deploy langgraph revision action (#585)
* ci: Fix deploy langgraph revision action * cr * cr * cr
This commit is contained in:
parent
4db9778ea6
commit
1bb24ac7c8
1 changed files with 2 additions and 10 deletions
12
.github/workflows/deploy-langgraph.yml
vendored
12
.github/workflows/deploy-langgraph.yml
vendored
|
|
@ -35,19 +35,11 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --immutable --mode=skip-build
|
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
|
- name: Execute deployment
|
||||||
run: |
|
run: |
|
||||||
cd apps/open-swe
|
cd apps/open-swe
|
||||||
node ./dist/scripts/deploy-langgraph.cjs
|
yarn tsx ./scripts/deploy-langgraph.ts
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CONTROL_PLANE_HOST: ${{ secrets.CONTROL_PLANE_HOST }}
|
CONTROL_PLANE_HOST: ${{ secrets.CONTROL_PLANE_HOST }}
|
||||||
LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }}
|
LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue