Skip to content

chore(release): pulling release/1.29.0 into master #27

chore(release): pulling release/1.29.0 into master

chore(release): pulling release/1.29.0 into master #27

name: Deploy to Private Pod
on:
pull_request:
branches:
- master
types:
- opened
jobs:
deploy_private_pod:
name: Deploy to Private Pod
runs-on: macOS-latest
if: (startsWith(github.event.pull_request.head.ref, 'release/') || startsWith(github.event.pull_request.head.ref, 'hotfix-release/'))
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
ref: '${{ github.event.pull_request.head.ref }}'
- name: 'Install Cocoapods'
run: gem install cocoapods
- name: 'Convert podspec to podspec.json'
run: |
pod ipc spec Rudder.podspec > Rudder.podspec.json
- name: 'Add Private Spec Repo to CocoaPods installation'
run: |
pod repo add rudderlabs https://${{secrets.PAT_USERNAME}}:${{secrets.PAT}}@github.com/rudderlabs/Specs.git
- name: 'Add Podspec to repo'
run: |
pod repo push rudderlabs Rudder.podspec.json