Merge branch 'MTRNord/fix-fdroid-deploy' into 'main'

ci(fdroid): Make sure we first fetch the host key

See merge request ChristianPauly/fluffychat-flutter!163
This commit is contained in:
Sorunome 2020-09-13 17:44:11 +00:00
commit a352de0029

View file

@ -124,6 +124,7 @@ upload_to_fdroid_repo:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- ssh-keyscan -t rsa fdroid.nordgedanken.dev >> ~/.ssh/known_hosts
script: script:
- export UPDATE_VERSION=$(pcregrep -o1 'version:\\s([0-9]*\\.[0-9]*\\.[0-9]*)\\+[0-9]*' pubspec.yaml) - export UPDATE_VERSION=$(pcregrep -o1 'version:\\s([0-9]*\\.[0-9]*\\.[0-9]*)\\+[0-9]*' pubspec.yaml)
- mkdir -p upload - mkdir -p upload