CI/CD Integration
Automate social media posts directly from your CI/CD pipeline.
Quick Start
Section titled “Quick Start”- Create an API key in Settings
- Add it as a secret (
AP_API_KEY) in your CI system - Use the GitHub Action or raw CLI
GitHub Action
Section titled “GitHub Action”- uses: agendapanda/post-action@v1 with: api-key: ${{ secrets.AP_API_KEY }} content: "We just shipped v2.0!"Raw CLI (any CI system)
Section titled “Raw CLI (any CI system)”npm install -g @agendapanda/cliAP_API_KEY=$AP_API_KEY ap post "Deployed to production"Calendar Sync
Section titled “Calendar Sync”Keep a calendar.json in your repo and sync on every push:
- uses: agendapanda/post-action@v1 with: api-key: ${{ secrets.AP_API_KEY }} calendar-file: "./calendar.json"See the Calendar as Code guide for the JSON format.