我正在尝试在 Gitlab 上为 Flutter Web 设置 CI。我的`。但它不构建网络应用程序。
cirrus.yml` 文件:
image: cirrusci/flutter:latest
variables:
before_script:
- flutter channel beta
- flutter upgrade
- flutter config --enable-web
- flutter pub get
pages:
stage: deploy
script:
- flutter build web
- cp -r build/web public
artifacts:
paths:
- public
only:
- live
管道不会自动启动。当我手动运行它时,我收到以下错误:
No stages / jobs for this pipeline.
Specify variable values to be used in this run. The values specified in CI/CD settings will be used by default.