Skip to content

Commit

Permalink
Add deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimEbrahemAbdelaziz authored Mar 25, 2020
1 parent 3c0e073 commit 0a2adbd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: deploy_to_cocoapods

on:
push:
tags:
- '*'

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v1

- 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 0a2adbd

Please sign in to comment.