Skip to content

Commit

Permalink
add buildspec yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsto committed Aug 2, 2024
1 parent 7db7e3a commit 1d2bbdb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions buildspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# buildspec.yml
version: 0.2

phases:
pre_build:
commands:
- code/ci_actions/01_keychain.sh
- code/ci_actions/02_amplify.sh

build:
commands:
- code/ci_actions/03_build.sh
- code/ci_actions/04_local_tests.sh

post_build:
commands:
- code/ci_actions/06_deploy_testflight.sh
- code/ci_actions/07_cleanup.sh

artifacts:
type: zip
files:
- 'code/build-release/getting-started.xcarchive/Products/Applications/getting\ started.app/*'
name: getting_started_app-$(date +%Y%m%d%H%M%S).zip
base-directory: 'code/build-release/getting-started.xcarchive/Products/Applications'

cache:
paths:
- 'code/build-release/**/*'

0 comments on commit 1d2bbdb

Please sign in to comment.