Skip to content

Commit 422ad56

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

File tree

3 files changed

+23494
-19
lines changed

3 files changed

+23494
-19
lines changed

Diff for: .github/workflows/publish.yml

+22-18
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,31 @@ on:
55
- ft-app-deployment
66

77
jobs:
8-
build:
8+
Publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
# - name: 🏗 Setup repo
12-
# uses: actions/checkout@v4
13-
# with:
14-
# fetch-depth: 1
11+
- name: 🏗 Setup repo
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 1
1515

16-
# - name: 🏗 Setup EAS
17-
# uses: expo/expo-github-action@v8
18-
# with:
19-
# eas-version: latest
20-
# token: ${{ secrets.EXPO_TOKEN }}
16+
- name: 🏗 Setup Node
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 20.x
20+
cache: npm
2121

22-
# - name: 📦 Install dependencies
23-
# run: npm install
22+
- name: 🏗 Setup EAS
23+
uses: expo/expo-github-action@v8
24+
with:
25+
eas-version: latest
26+
token: ${{ secrets.EXPO_TOKEN }}
2427

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"
28+
- name: 📦 Install dependencies
29+
run: npm install
30+
31+
- name: 🚀 Build & Submit app
32+
run: eas build --platform $PLATFORM --profile $PROFILE --auto-submit --non-interactive
2933
env:
30-
PLATFORM: ${{ env.BUILD_PLATFORM }}
31-
PROFILE: ${{ env.BUILD_PROFILE }}
34+
PLATFORM: ${{ vars.BUILD_PLATFORM }}
35+
PROFILE: ${{ vars.BUILD_PROFILE }}

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
# dependencies
55
/node_modules
6-
package-lock.json
76

87
# misc
98
.env

0 commit comments

Comments
 (0)