Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

automate eas

daniel31x13392e5593e7f4
diff --git a/.github/workflows/mobile-ios.yml b/.github/workflows/mobile-ios.yml
new file mode 100644
index 00000000..b0a10b3c
--- /dev/null
+++ b/.github/workflows/mobile-ios.yml
@@ -0,0 +1,74 @@
+name: Mobile iOS (build & submit)
+
+on:
+ workflow_dispatch:
+ inputs:
+ profile:
+ description: EAS build profile
+ type: choice
+ options:
+ - production
+ default: production
+ submit:
+ description: Submit to App Store Connect after building
+ type: boolean
+ default: true
+
+concurrency:
+ group: mobile-ios
+ cancel-in-progress: false
+
+jobs:
+ build:
+ name: Build iOS (eas build --local)
+ runs-on: macos-26
+ defaults:
+ run:
+ working-directory: apps/mobile
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+
+ - name: Enable corepack (Yarn 4)
+ run: corepack enable
+ working-directory: .
+
+ - name: Setup EAS CLI
+ uses: expo/expo-github-action@v8
+ with:
+ eas-version: latest
+ token: ${{ secrets.EXPO_TOKEN }}
+
+ - name: Install dependencies
+ run: yarn install --immutable
+ working-directory: .
+
+ - name: Build (local)
+ run: >
+ eas build
+ --platform ios
+ --profile ${{ inputs.profile }}
+ --local
+ --non-interactive
+ --output build.ipa
+
+ - name: Upload artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: ios-ipa
+ path: apps/mobile/build.ipa
+ retention-days: 14
+
+ - name: Submit to App Store Connect
+ if: ${{ inputs.submit }}
+ run: >
+ eas submit
+ --platform ios
+ --profile production
+ --path build.ipa
+ --non-interactive
diff --git a/apps/mobile/eas.json b/apps/mobile/eas.json
index 036f2f84..1d2912f4 100644
--- a/apps/mobile/eas.json
+++ b/apps/mobile/eas.json
@@ -23,7 +23,8 @@
"corepack": true,
"distribution": "store",
"autoIncrement": true,
- "channel": "production"
+ "channel": "production",
+ "environment": "production"
}
},
"submit": {
@@ -32,7 +33,6 @@
"ascAppId": "6752550960"
},
"android": {
- "serviceAccountKeyPath": "./service-account-file.json",
"track": "internal",
"releaseStatus": "draft"
}