Skip to content

Commit

Permalink
Create deploy_to_cocoapods.yml
Browse files Browse the repository at this point in the history
Trying to automate our cocoapod releases.
  • Loading branch information
nakajima authored Sep 20, 2023
1 parent dbb39bc commit fa67456
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy_to_cocoapods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: deploy_to_cocoapods

on:
push:
tags:
- '*'

jobs:
build:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v1

- name: Install Cocoapods
run: gem install cocoapods

- name: Deploy to Cocoapods
run: |
set -eo pipefail
pod lib lint --allow-warnings
pod trunk push --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

0 comments on commit fa67456

Please sign in to comment.