Skip to content

Commit 3c0f26b

Browse files
committed
feat(#31): app deployment ci
1 parent ce0a8d6 commit 3c0f26b

File tree

2 files changed

+41
-8
lines changed

2 files changed

+41
-8
lines changed

Diff for: .github/workflows/publish.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
on:
2+
push:
3+
branches:
4+
- publish
5+
- ft-app-deployment
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
# - name: 🏗 Setup repo
12+
# uses: actions/checkout@v4
13+
# with:
14+
# fetch-depth: 1
15+
16+
# - name: 🏗 Setup EAS
17+
# uses: expo/expo-github-action@v8
18+
# with:
19+
# eas-version: latest
20+
# token: ${{ secrets.EXPO_TOKEN }}
21+
22+
# - name: 📦 Install dependencies
23+
# run: npm install
24+
25+
# - name: 🚀 Build & Submit app
26+
# run: eas build --platform $PLATFORM --profile $PROFILE --auto-submit --non-interactive
27+
- name: Check environment variables
28+
run: echo "PLATFORM: $PLATFORM, PROFILE: $PROFILE"
29+
env:
30+
PLATFORM: ${{ env.BUILD_PLATFORM }}
31+
PROFILE: ${{ env.BUILD_PROFILE }}

Diff for: eas.json

+10-8
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,27 @@
44
"appVersionSource": "remote"
55
},
66
"build": {
7-
"development": {
8-
"developmentClient": true,
9-
"distribution": "internal",
7+
"preview": {
8+
"autoIncrement": true,
9+
"distribution": "store",
1010
"android": {
1111
"buildType": "apk"
1212
}
1313
},
14-
"preview": {
15-
"distribution": "internal"
16-
},
1714
"production": {
1815
"autoIncrement": true,
16+
"distribution": "store",
1917
"android": {
2018
"buildType": "apk"
2119
}
2220
}
2321
},
2422
"submit": {
25-
"production": {},
26-
"preview": {}
23+
"preview": {
24+
"ios": {
25+
"ascAppId": "6670758891",
26+
"appleTeamId": "LAF47944D6"
27+
}
28+
}
2729
}
2830
}

0 commit comments

Comments
 (0)