John Kennedy 3505dd95ee Merge pull request #1 from langchain-ai/ci/add-minimum-workflow-permissions
ci: add minimum workflow permissions
2026-03-27 16:39:51 -07:00
2025-06-07 18:24:34 -07:00
2025-06-07 18:24:34 -07:00
2025-06-07 18:24:34 -07:00
2025-06-07 18:24:34 -07:00
2025-06-07 18:24:34 -07:00
2025-06-07 21:41:39 -07:00
2025-06-07 18:24:34 -07:00

Building a CI/CD Pipeline for LangGraph Platform Deployments using Github Actions 🦜🕸️

This repository demonstrates how you can automate the deployment of agents to LangGraph Platform (LGP) using Github Actions and the LGP Control Plane API

The project contains two key workflows:

🚀 New Deployment Workflow (.github/workflows/new-deployment.yml)

  • Triggers: Push to main branch or merged pull requests
  • Creates new deployments on LangGraph Platform programmatically
  • Builds and pushes Docker images to Docker Hub

🔄 New Revision Workflow (.github/workflows/new-revision.yml)

  • Triggers: Push to main branch or merged pull requests
  • Updates existing deployments with new revisions
  • Builds and pushes updated Docker images

Required Secrets

Configure these in your GitHub repository:

DOCKER_USERNAME          # Your Docker Hub username
DOCKER_PASSWORD          # Your Docker Hub password/token
LANGSMITH_API_KEY        # LangSmith API key for deployments. Will be used to authenticate into LGP
OPENAI_API_KEY          # OpenAI API key for the agent
S
Description
No description provided
Readme 46 KiB
Languages
Dockerfile 69.8%
Python 30.2%