{"repo":"michaelhenry/deploy-to-cocoapods-github-action","free":true,"listed":false,"github":"https://github.com/michaelhenry/deploy-to-cocoapods-github-action","clone":"git clone https://github.com/michaelhenry/deploy-to-cocoapods-github-action.git","description":"Github action for deploying to Cocoapods.org","language":"JavaScript","stars":37,"topics":["github-actions","github","ci","automation","cocoapods","pod"],"license":null,"category":"workflow-automation","readme_excerpt":"Deploy to cocoapods Using this GitHub Action, you can deploy automatically your pod library to Cocoapods.org Requirements - Must have register to cocoapod trunk. Please refer to Getting setup with Trunk on how to register. - Get your trunk token by using pod trunk me --verbose from your command line. Example response: Please get only the XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX as your trunk token . - register the your trunk token as Secrets and named it as COCOAPODS TRUNK TOKEN . Usage The workflow, usually declared in .github/workflows/deploy to cocoapods.yml , looks like: OR Example An actual example can be found on this Repository: Autobot. Recommendations I also do recommend to automatically sync your library versioning with your git tags or releases . for example this .spec file, I provided an environment variable for LIB VERSION to use as the actual version, else it will goes to fallback version which is 1.0 on the github action, we have to update the step Deploy to Cocoapods from to and that's all. Cheers! If you found some problems or encountered some troubles, please don't hessitate to let me know. I'm happy to help you! LICENSE MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/michaelhenry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/michaelhenry/deploy-to-cocoapods-github-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}