Skip to content

Commit 1a0fe66

Browse files
committed
V1.7.0
1 parent f1fb480 commit 1a0fe66

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/flutter-android.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ jobs:
3333
run: flutter pub get
3434

3535
- name: Create .env file # 🔥 Génère un fichier .env à partir du secret
36-
run: echo "GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID" > .env
36+
run: |
37+
echo "GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID" > env_config.txt
38+
echo "THE_GRAPH_API_KEY=$THE_GRAPH_API_KEY" >> env_config.txt # 🔥 Ajoute la seconde clé API
3739
3840
- name: Decode and write google-services.json
3941
run: |
40-
echo "GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID" > env_config.txt
41-
echo "THE_GRAPH_API_KEY=$THE_GRAPH_API_KEY" >> env_config.txt # 🔥 Ajoute la seconde clé API
42+
echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | base64 --decode > android/app/google-services.json
4243
4344
- name: Decode and add the signing key
4445
run: |

.github/workflows/flutter-web.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
5050
# 🔥 Compilation avec verbose pour voir les erreurs plus détaillées
5151
- name: Build web app
52-
run: flutter build web --release --web-renderer html --base-href /realtoken_apps/ --verbose
52+
run: flutter build web --release --web-renderer html --base-href /realtoken_apps/
5353

5454
- name: Deploy to GitHub Pages
5555
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)