KAN-63: fix langchain cloning git issue

This commit is contained in:
Gabos Levente 2025-06-27 10:50:06 +03:00
parent e8e16b0e40
commit 8454c000f3
2 changed files with 6 additions and 2 deletions

View file

@ -87,7 +87,8 @@ jobs:
- name: Clone and prepare LangChain service
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
id: meta-langchain

View file

@ -53,8 +53,11 @@ This repository is configured to automatically deploy the Academy LMS stack to H
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
- **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:
- Use a `.env` file on the server (default approach)