From 39e7a573ac869159f5cffd4fa5cf5e0caded998f Mon Sep 17 00:00:00 2001 From: Satoshi Nagasaka Date: Fri, 10 Jan 2020 02:11:38 +0900 Subject: [PATCH] add deploy workflow --- .github/workflows/deploy-pods.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/deploy-pods.yml diff --git a/.github/workflows/deploy-pods.yml b/.github/workflows/deploy-pods.yml new file mode 100644 index 0000000..a593d40 --- /dev/null +++ b/.github/workflows/deploy-pods.yml @@ -0,0 +1,17 @@ +name: deploy-pod + +on: + push: + tags: v* + +jobs: + build: + runs-on: macOS-latest + steps: + - uses: actions/checkout@v1 + - name: Lint + run: pod spec lint + - name: Deploy + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + run: pod trunk push Anima.podspec