Skip to content

Add Require Authentication toggle for web client apps (#2913) #172

Add Require Authentication toggle for web client apps (#2913)

Add Require Authentication toggle for web client apps (#2913) #172

name: Publish Skills
on:
push:
branches: [main]
paths:
- 'agents-docs/content/**'
- 'agents-docs/_snippets/**'
- 'agents-docs/skills-collections/_templates/**'
- 'agents-docs/scripts/generate-skill-collections.ts'
- 'agents-docs/skills-collections/README.md'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout agents repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup pnpm
uses: pnpm/action-setup@c5ba7f7862a0f64c1b1a05fbac13e0b8e86ba08c # v4
with:
version: 10.10.0
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Generate skill collections
working-directory: agents-docs
run: pnpm generate-skill-collections
- name: Push to skills repo
uses: cpina/github-action-push-to-another-repository@55306faa4ed53b815ae49e564af8cfb359d32ae2 # main
env:
SSH_DEPLOY_KEY: ${{ secrets.SKILLS_DEPLOY_KEY }}
with:
source-directory: 'agents-docs/skills-collections/.generated'
destination-github-username: 'inkeep'
destination-repository-name: 'skills'
user-email: 'support@inkeep.com'
target-branch: main
commit-message: 'chore: update skills from agents repo (${{ github.sha }})'