Skip to content

Commit

Permalink
Merge pull request #193 from polywrap/dev
Browse files Browse the repository at this point in the history
Dev Release Feb 20th
  • Loading branch information
dOrgJelli authored Feb 20, 2024
2 parents fe2f0bc + 90a1954 commit c344e1c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
40 changes: 39 additions & 1 deletion .github/workflows/cd.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- release/dev

jobs:
Deploy-Dev:
Deploy-API:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -62,6 +62,44 @@ jobs:
DEV_OPENAI_API_KEY: ${{ secrets.DEV_OPENAI_API_KEY}}
DEV_PINECONE_API_KEY: ${{ secrets.DEV_PINECONE_API_KEY }}

Deploy-DB:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: (yarn install --nonInteractive --frozen-lockfile --prefer-offline || yarn install --nonInteractive --frozen-lockfile --prefer-offline)

- uses: supabase/setup-cli@v1
with:
version: latest
Expand Down
2 changes: 1 addition & 1 deletion web/app/s/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default async function StrategyPage({
if (!strategyCreated) {
return (
<div className='w-full flex flex-col items-center justify-between h-full pt-16 pb-8 px-6'>
<div className='w-full max-w-screen-lg space-y-8'>
<div className='w-full max-w-screen-md space-y-8 px-2'>
<RealtimeLogs
logs={run.data.logs}
run={{ id: params.id, prompt: run.data.prompt }}
Expand Down
2 changes: 1 addition & 1 deletion web/components/RealtimeLogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function RealtimeLogs(props: {
}
/>
</div>
<div className="space-y-2">
<div className="mx-auto max-w-screen-sm space-y-2">
{!hasErrored && (
<>
<TimeRemaining time={progressInformation.time} />
Expand Down

0 comments on commit c344e1c

Please sign in to comment.