Skip to content

Commit 3372664

Browse files
authored
Create deploy_to_cocoapods.yml (#8)
1 parent 67c4d65 commit 3372664

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: deploy_to_cocoapods
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
11+
runs-on: macOS-latest
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
16+
- name: Install Cocoapods
17+
run: gem install cocoapods
18+
19+
- name: Deploy to Cocoapods
20+
run: |
21+
set -eo pipefail
22+
pod spec lint --allow-warnings --skip-import-validation
23+
pod trunk push --allow-warnings --skip-import-validation
24+
env:
25+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

0 commit comments

Comments
 (0)