Skip to content

Beta deploy to Cocoapods #1

Beta deploy to Cocoapods

Beta deploy to Cocoapods #1

name: Beta deploy to Cocoapods
on:
workflow_dispatch
jobs:
deploy-cocoapods-beta:
name: Beta deploy to Cocoapods
runs-on: macOS-latest
if: startsWith(github.ref, 'refs/heads/beta-release/')
steps:
- name: Checkout source branch
uses: actions/checkout@v4
- name: Install Cocoapods
run: gem install cocoapods
- name: Publish to CocoaPod
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
pod trunk push --allow-warnings