Build Deploy Publish
Overview
This section explains how to build the web version of your app and deploy it to the correct environment.
Steps
1
2
3
Load Global Assets
The
.envfile should load global assets from the environment-specific asset files.The global assets file must be in JSON format for Flutter.
Check the YAML files in each environment folder for examples.
Example (dev environment — works-dev.yaml):
works-shg-app:
custom-js-injection: |
sub_filter.conf: "
sub_filter '<head>' '<head>
<script src=https://works-dev.digit.org/works-dev-asset/worksGlobalConfig.json type=text/javascript></script>';"This script loads the global config file for the web build.
Last updated
Was this helpful?