chore(release): pulling release/1.24.1 into master #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |