mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
KAN-63: fix langchain cloning git issue
This commit is contained in:
parent
e8e16b0e40
commit
8454c000f3
2 changed files with 6 additions and 2 deletions
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
|
|
@ -87,7 +87,8 @@ jobs:
|
||||||
|
|
||||||
- name: Clone and prepare LangChain service
|
- name: Clone and prepare LangChain service
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/ExarLabs/academy-LangChain.git langchain-temp
|
# Clone private repository using PAT (Personal Access Token)
|
||||||
|
git clone https://${{ secrets.ACADEMY_DOCKER_PAT }}@github.com/ExarLabs/academy-LangChain.git langchain-temp
|
||||||
|
|
||||||
- name: Extract metadata for LangChain image
|
- name: Extract metadata for LangChain image
|
||||||
id: meta-langchain
|
id: meta-langchain
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,11 @@ This repository is configured to automatically deploy the Academy LMS stack to H
|
||||||
|
|
||||||
Configure the following secrets in this repository:
|
Configure the following secrets in this repository:
|
||||||
|
|
||||||
- `HETZNER_SSH_KEY`: Private SSH key for accessing the Hetzner server
|
|
||||||
- `ACADEMY_DOCKER_PAT`: GitHub Personal Access Token with `repo` and `write:packages` permissions
|
- `ACADEMY_DOCKER_PAT`: GitHub Personal Access Token with `repo` and `write:packages` permissions
|
||||||
|
- **IMPORTANT**: This PAT must have access to clone the private `academy-LangChain` repository
|
||||||
|
- Create at: https://github.com/settings/tokens/new
|
||||||
|
- Required scopes: `repo` (full), `write:packages`
|
||||||
|
- `HETZNER_SSH_KEY`: Private SSH key for accessing the Hetzner server
|
||||||
|
|
||||||
For environment variables, you can either:
|
For environment variables, you can either:
|
||||||
- Use a `.env` file on the server (default approach)
|
- Use a `.env` file on the server (default approach)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue