Skip to content

Commit d048bde

Browse files
Meghan Krishna GonuguntaMeghan Krishna Gonugunta
authored andcommitted
modified eas preview.yml
1 parent 901e5f5 commit d048bde

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/preview.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,16 @@ jobs:
2929
run: npm install
3030
working-directory: ./frontend
3131

32+
- name: Create .env file
33+
working-directory: ./frontend
34+
run: |
35+
echo "EXPO_PUBLIC_GOOGLE_EXPO_CLIENT_ID=${{ secrets.EXPO_PUBLIC_GOOGLE_EXPO_CLIENT_ID }}" >> .env
36+
echo "EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID=${{ secrets.EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID }}" >> .env
37+
echo "EXPO_PUBLIC_GOOGLE_ANDROID_CLIENT_ID=${{ secrets.EXPO_PUBLIC_GOOGLE_ANDROID_CLIENT_ID }}" >> .env
38+
echo "EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID=${{ secrets.EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID }}" >> .env
39+
3240
- name: Create preview
3341
uses: expo/expo-github-action/preview@v8
3442
with:
3543
command: eas update --auto --branch ${{ github.event.pull_request.head.ref }}
36-
working-directory: ./frontend
44+
working-directory: ./frontend

0 commit comments

Comments
 (0)