ci: Optimize dependencies

This commit is contained in:
Marcel 2020-10-12 08:09:47 +00:00
parent e77d5a6dca
commit f18779221f

View file

@ -158,8 +158,7 @@ upload_to_fdroid_repo:
- export UPDATE_VERSION=$(pcregrep -o1 'version:\\s([0-9]*\\.[0-9]*\\.[0-9]*)\\+[0-9]*' pubspec.yaml) && mv app-release.apk "${UPDATE_VERSION}.apk" - export UPDATE_VERSION=$(pcregrep -o1 'version:\\s([0-9]*\\.[0-9]*\\.[0-9]*)\\+[0-9]*' pubspec.yaml) && mv app-release.apk "${UPDATE_VERSION}.apk"
- rsync -rav -e ssh ./ fluffy@fdroid.nordgedanken.dev:/fdroid/repo - rsync -rav -e ssh ./ fluffy@fdroid.nordgedanken.dev:/fdroid/repo
- ssh fluffy@fdroid.nordgedanken.dev "cd fdroid && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && fdroid update" - ssh fluffy@fdroid.nordgedanken.dev "cd fdroid && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && fdroid update"
dependencies: needs: ["build_android_apk"]
- build_android_apk
only: only:
- tags - tags
@ -174,8 +173,7 @@ pages:
- cd build/web/ && bundle install && cd ../../ - cd build/web/ && bundle install && cd ../../
- cd build/web/ && bundle exec jekyll build -d public && cd ../../ - cd build/web/ && bundle exec jekyll build -d public && cd ../../
- mv build/web/public ./ - mv build/web/public ./
dependencies: needs: ["build_web"]
- build_web
artifacts: artifacts:
paths: paths:
- public - public
@ -215,3 +213,4 @@ snap:publish:
- './*.snap' - './*.snap'
when: on_success when: on_success
expire_in: 1 week expire_in: 1 week
needs: []