Add gitea ci workflow
Build and Deploy / deploy (push) Failing after 37m6s

This commit is contained in:
2026-06-04 18:14:53 +02:00
parent a32bfd5108
commit 3f35c670ca
2 changed files with 46 additions and 5 deletions
+25 -5
View File
@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
android = {
enable = true;
emulator.enable = false;
@@ -46,10 +45,31 @@
};
scripts = {
deploy-docker.exec = ''
build-docker.exec = ''
dart run pdfrx:remove_wasm_modules --revert // Make sure WASM is put in output
flutter build web --release
docker build -t harbor.julian-mutter.de/sheetless/sheetless-frontend .
docker push harbor.julian-mutter.de/sheetless/sheetless-frontend
docker build -t gitlab.julian-mutter.de/julian/sheetless-frontend:latest .
'';
deploy-docker.exec = ''
if [ -n "''${REGISTRY_USERNAME:-}" ] && [ -n "''${REGISTRY_PASSWORD:-}" ]; then
docker login gitlab.julian-mutter.de --username "$REGISTRY_USERNAME" --password "$REGISTRY_PASSWORD"
fi
docker push gitlab.julian-mutter.de/julian/sheetless-frontend
'';
build-android.exec = ''
dart run pdfrx:remove_wasm_modules --revert // Make sure WASM is put in output
dart run pdfrx:remove_wasm_modules // NOT idempotent!
flutter build apk --release
'';
deploy-android.exec = ''
echo "TBD"
'';
};
}