We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 811f994 commit 6911f53Copy full SHA for 6911f53
.github/workflows/eas-build.yml
@@ -47,6 +47,7 @@ on:
47
jobs:
48
Build:
49
runs-on: ubuntu-latest
50
+ environment: app-${{ inputs.environment }}
51
steps:
52
- name: Check for EXPO_TOKEN
53
run: |
@@ -69,6 +70,11 @@ jobs:
69
70
- name: 📦 Setup Node + PNPM + install deps
71
uses: ./.github/actions/setup-node-pnpm-install
72
73
+ # In secrets.ENVIRONMENT_FILE we have the whole environment file for the current environment
74
+ # we need to create a local .env file with the content of the environment file
75
+ - name: Create environment file
76
+ run: echo "${{ secrets.ENVIRONMENT_FILE }}" > .env.${{ inputs.environment }}
77
+
78
- name: ⚙️ Run Prebuild
79
run: pnpm prebuild:${{ inputs.environment }}
80
0 commit comments