Skip to content

CD

CD #221

Workflow file for this run

name: CD
on:
workflow_run:
workflows:
- CI
types:
- completed
branches:
- main
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: macos-13
timeout-minutes: 30
env:
SLACK_URL: ${{ secrets.SLACK_URL }}
strategy:
fail-fast: false
matrix:
scheme:
- ios-app-template
- ios-app-template.stg
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_sha }}
- name: Bootstrap
uses: ./.github/actions/bootstrap
- name: Set Build Number
run: make set_build_number BUILD_NUMBER=${GITHUB_RUN_NUMBER}
- name: Deploy
run: make deploy_${{ matrix.scheme }}
env:
LICENSE_PLIST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_ID: ${{ secrets.APPLE_ID }}
ITC_TEAM_ID: ${{ secrets.ITC_TEAM_ID }}
TEAM_ID: ${{ secrets.TEAM_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}