mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
chore: Use correct paths on new server
This commit is contained in:
parent
d018a4bec1
commit
2f000078f1
@ -92,7 +92,7 @@ build_android_appbundle:
|
|||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
upload_to_fdroid_repo:
|
upload-fdroid:
|
||||||
stage: release
|
stage: release
|
||||||
before_script:
|
before_script:
|
||||||
- 'which ssh-agent || (sudo apt-get update -y && sudo apt-get install openssh-client -y )'
|
- 'which ssh-agent || (sudo apt-get update -y && sudo apt-get install openssh-client -y )'
|
||||||
@ -106,8 +106,8 @@ upload_to_fdroid_repo:
|
|||||||
script:
|
script:
|
||||||
- cd build/android/
|
- cd build/android/
|
||||||
- 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:/opt/fdroid/fluffychat/repo
|
||||||
- ssh fluffy@fdroid.nordgedanken.dev "cd fdroid && fdroid update"
|
- ssh fluffy@fdroid.nordgedanken.dev "cd /opt/fdroid/fluffychat && fdroid update --verbose"
|
||||||
needs: ["build_android_apk"]
|
needs: ["build_android_apk"]
|
||||||
resource_group: playstore_release
|
resource_group: playstore_release
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
Loading…
Reference in New Issue
Block a user