From 169d3320295ed983e12d8c48ef6491d7218e05ee Mon Sep 17 00:00:00 2001 From: Evgeny Kalashnikov Date: Tue, 16 Feb 2021 11:48:50 +0200 Subject: [PATCH] Create deploy_to_cocoapods.yml --- .github/workflows/deploy_to_cocoapods.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy_to_cocoapods.yml diff --git a/.github/workflows/deploy_to_cocoapods.yml b/.github/workflows/deploy_to_cocoapods.yml new file mode 100644 index 0000000..01dcac4 --- /dev/null +++ b/.github/workflows/deploy_to_cocoapods.yml @@ -0,0 +1,22 @@ +name: deploy_to_cocoapods + +on: + push: + tags: + - '*' + +jobs: + build: + + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install Cocoapods + run: gem install cocoapods + + - name: Deploy to Cocoapods + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + run: ./repo.sh push