Skip to content

Commit

Permalink
Create deploy-cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei18 authored Sep 20, 2024
1 parent b07e7a6 commit 0a5b28e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy-cocoapods
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy Cocoapods

on:
push:
branches:
- main
paths:
- scripts/ZMarkupParser.podspec

jobs:

deploy:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- run: gem install cocoapods
- env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
set -eo pipefail
pod trunk push --allow-warnings


0 comments on commit 0a5b28e

Please sign in to comment.