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

This commit is contained in:
Marcel 2020-09-13 17:33:49 +00:00
parent 6851b9ab3c
commit 2172e39f2c
1 changed files with 1 additions and 0 deletions

View File

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