forked from eatvio/eatvio_app
feat: test-flight-cd.yaml
This commit is contained in:
36
.gitea/workflows/test-flight-cd.yaml
Normal file
36
.gitea/workflows/test-flight-cd.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
name: "Build Test Flight"
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- test-flight
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: mac-mini
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Import code sign
|
||||
uses: http://gitea.office.local:3000/mso7nueh/import-codesign-certs
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.CERTIFICATES_FILE_BASE64 }}
|
||||
p12-password: ${{ secrets.CERTIFICATES_PASSWORD }}
|
||||
|
||||
- name: Download provisioning
|
||||
uses: http://gitea.office.local:3000/mso7nueh/apple-provisioning-profiles-downloader
|
||||
with:
|
||||
bundle-id: com.eatvioapp.app
|
||||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
api-key-id: ${{ secrets.APPSTORE_KEY_ID }}
|
||||
api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }}
|
||||
|
||||
- run: ./Build
|
||||
|
||||
- name: Upload to TestFlight
|
||||
uses: http://gitea.office.local:3000/mso7nueh/upload-testflight-build
|
||||
with:
|
||||
app-path: .build/Artifacts/EatvioApp.ipa/EatvioApp.ipa
|
||||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
api-key-id: ${{ secrets.APPSTORE_KEY_ID }}
|
||||
api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }}
|
||||
Reference in New Issue
Block a user