mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 02:42:34 +01:00
Merge branch 'braid/web-build-job-permissions' into 'main'
fix: permission of web builds See merge request famedly/fluffychat!1067
This commit is contained in:
commit
63abbf403a
2
.gitignore
vendored
2
.gitignore
vendored
@ -10,7 +10,6 @@
|
|||||||
.buildlog/
|
.buildlog/
|
||||||
.history
|
.history
|
||||||
.svn/
|
.svn/
|
||||||
lib/generated_plugin_registrant.dart
|
|
||||||
prime
|
prime
|
||||||
|
|
||||||
# libolm package
|
# libolm package
|
||||||
@ -38,7 +37,6 @@ prime
|
|||||||
/build/
|
/build/
|
||||||
|
|
||||||
# Web related
|
# Web related
|
||||||
lib/generated_plugin_registrant.dart
|
|
||||||
docs/build/
|
docs/build/
|
||||||
docs/.jekyll-cache/
|
docs/.jekyll-cache/
|
||||||
docs/_site/
|
docs/_site/
|
||||||
|
@ -339,7 +339,8 @@ upload_android:
|
|||||||
upload_web:
|
upload_web:
|
||||||
extends: .release
|
extends: .release
|
||||||
script:
|
script:
|
||||||
- tar czf package.tar.gz -C build/web/ .
|
# workaround bug of Flutter engine
|
||||||
|
- tar czf package.tar.gz --ignore-failed-read -C build/web/ .
|
||||||
- |
|
- |
|
||||||
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-web.tar.gz
|
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file package.tar.gz ${PACKAGE_REGISTRY_URL}/fluffychat-web.tar.gz
|
||||||
|
|
||||||
|
@ -3,3 +3,5 @@ flutter config --enable-web
|
|||||||
flutter clean
|
flutter clean
|
||||||
flutter pub get
|
flutter pub get
|
||||||
flutter build web --release --verbose --source-maps
|
flutter build web --release --verbose --source-maps
|
||||||
|
# bug of the Flutter engine
|
||||||
|
chmod +r -R build/web
|
Loading…
Reference in New Issue
Block a user