Important: To ensure commit information is available, add the following step before using this action:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: agentuity/deploy-action@main
with:
api_key: ${{ secrets.AGENTUITY_API_KEY }}
project_dir: ./ # Optional, defaults to "."
Name | Description | Required | Default |
---|---|---|---|
api_key |
Agentuity API key for authentication | Yes | NA |
project_dir |
Path to the project directory | No | . |
name: Deploy Agentuity Project
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Deploy Agentuity Project
uses: agentuity/deploy-action@v1
with:
api_key: ${{ secrets.AGENTUITY_API_KEY }}