fix: removed dead workflow file (#1970)
This commit is contained in:
48
.github/workflows/rdme-openapi.yml
vendored
48
.github/workflows/rdme-openapi.yml
vendored
@@ -1,48 +0,0 @@
|
||||
# This GitHub Actions workflow was auto-generated by the `rdme` cli on 2023-12-19T05:58:13.568Z
|
||||
# You can view our full documentation here: https://docs.readme.com/docs/rdme
|
||||
name: ReadMe GitHub Action (OpenAPI) 🦉
|
||||
|
||||
env:
|
||||
MEMGPT_PGURI: ${{ secrets.MEMGPT_PGURI }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
# This workflow will run every time you push code to the following branch: `main`
|
||||
# Check out GitHub's docs for more info on configuring this:
|
||||
# https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
|
||||
- main
|
||||
|
||||
jobs:
|
||||
rdme-openapi:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'cpacker/Letta' # TODO: if the repo org ever changes, this must be updated
|
||||
steps:
|
||||
- name: Check out repo 📚
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: "Setup Python, Poetry and Dependencies"
|
||||
uses: packetcoders/action-setup-cache-python-poetry@main
|
||||
with:
|
||||
python-version: "3.12"
|
||||
poetry-version: "1.8.2"
|
||||
install-args: "-E dev"
|
||||
|
||||
- name: Generate openapi.json file
|
||||
run: |
|
||||
poetry run letta quickstart
|
||||
poetry run letta server &
|
||||
CMD_PID=$!
|
||||
sleep 5 # Wait for 5 seconds
|
||||
kill -SIGINT $CMD_PID
|
||||
|
||||
- name: Run `openapi` command (file 1) 🚀
|
||||
uses: readmeio/rdme@v8
|
||||
with:
|
||||
rdme: openapi openapi_letta.json --key=${{ secrets.README_API_KEY }} --id=6581305097523b004eedfd16
|
||||
|
||||
# - name: Run `openapi` command (file 2) 🚀
|
||||
# uses: readmeio/rdme@v8
|
||||
# with:
|
||||
# rdme: openapi openapi_assistants.json --key=${{ secrets.README_API_KEY }} --id=65cd16e8798bc7000fdab1cb
|
||||
Reference in New Issue
Block a user