mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
Added staging base url
This commit is contained in:
@ -26,20 +26,12 @@ jobs:
|
||||
with:
|
||||
flutter-version: '3.22.2' # Specify the Flutter version you want to use
|
||||
|
||||
- name: Load Environment Variables
|
||||
run: |
|
||||
echo "Loading environment variables from .env.production"
|
||||
cat .env.production | grep -v '^#' >> $GITHUB_ENV
|
||||
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Build Flutter Web App
|
||||
run: |
|
||||
flutter build web --release \
|
||||
--dart-define=ENV_NAME=${{ env.ENV_NAME }} \
|
||||
--dart-define=BASE_URL=${{ env.BASE_URL }} \
|
||||
--dart-define=FLAVOR=production
|
||||
flutter build web
|
||||
|
||||
- name: Build And Deploy
|
||||
id: builddeploy
|
||||
|
Reference in New Issue
Block a user