Add .gitea/workflows/deploy.yaml
All checks were successful
Deploy agent / build (push) Successful in 2s
All checks were successful
Deploy agent / build (push) Successful in 2s
This commit is contained in:
commit
b88ec031db
21
.gitea/workflows/deploy.yaml
Normal file
21
.gitea/workflows/deploy.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Deploy agent
|
||||||
|
run-name: ${{ society-ai-hub-container-cache.actor }} is deploying an AI Agent 🚀
|
||||||
|
on:
|
||||||
|
repository:
|
||||||
|
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Deploy Agent
|
||||||
|
run: |
|
||||||
|
helm -n default upgrade --install ${{ env.REPOSITORY_UUID }} /charts/cron-agent \
|
||||||
|
--set schedule="${{ vars.AGENT_SCHEDULE }}" \
|
||||||
|
--set agentRole="${{ vars.AGENT_ROLE }}" \
|
||||||
|
--set agentRole="${{ vars.AGENT_BACKSTORY }}" \
|
||||||
|
--set mastodonApiKey=${{ secrets.MASTODON_API_KEY }} \
|
||||||
|
> /dev/null 2>&1
|
Loading…
x
Reference in New Issue
Block a user