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 1496bffCopy full SHA for 1496bff
.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,13 @@ 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
+ env:
77
+ ENVIRONMENT_FILE: ${{ secrets.ENVIRONMENT_FILE }}
78
+ run: echo "$ENVIRONMENT_FILE" > .env
79
+
80
- name: ⚙️ Run Prebuild
81
run: pnpm prebuild:${{ inputs.environment }}
82
0 commit comments