[go: nahoru, domu]

Skip to content

Commit

Permalink
Add people page
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Feb 21, 2024
1 parent 4fe63f0 commit ec60c54
Show file tree
Hide file tree
Showing 10 changed files with 791 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/actions/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Adapted from https://github.com/tiangolo/fastapi/blob/master/.github/actions/people/action.yml
name: "Generate LangChain People"
description: "Generate the data for the LangChain People page"
author: "Jacob Lee <jacob@langchain.dev>"
inputs:
token:
description: 'User token, to read the GitHub API. Can be passed in using {{ secrets.LANGCHAIN_PEOPLE_GITHUB_TOKEN }}'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
7 changes: 7 additions & 0 deletions .github/actions/people/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:3.9

RUN pip install httpx PyGithub "pydantic==2.0.2" pydantic-settings "pyyaml>=5.3.1,<6.0.0"

COPY ./app /app

CMD ["python", "/app/main.py"]
Loading

0 comments on commit ec60c54

Please sign in to comment.