Merge pull request 'Nightly releases' (#109) from feature/nightly into master

Reviewed-on: https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy/pulls/109
This commit is contained in:
Bazsalanszky 2023-08-14 19:16:31 +00:00
commit c0738947b7

View File

@ -40,13 +40,14 @@ steps:
commands:
- pwd
- cd ../repoconfig/fdroid-repo-config/
- echo -n "$${fdroid_ks}" | base64 -d > keystore.p12
- sed -i "s#KS_PASS#$${fdroid_ks_pass}#g" config.yml
- sed -i "s#KEY_PASS#$${fdroid_key_pass}#g" config.yml
- echo -n "$${FDROID_KS}" | base64 -d > keystore.p12
- cat keystore.p12 | sha256sum
- sed -i "s|KS_PASS|$${FDROID_KS_PASS}|g" config.yml
- sed -i "s|KEY_PASS|$${FDROID_KEY_PASS}|g" config.yml
- fdroid update
- fdroid deploy
- ls -laR repo
secrets: [ FDROID_KS_PASS, FDROID_KEY_PASS, FDROID_KS ]
push-pages-update-repo:
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
commands:
@ -58,9 +59,9 @@ steps:
- ls -lsR fdroid/repo
- git commit -m "autodeploy"
- git remote remove origin
- git remote add origin https://"$${GITEA_ACCESS_TOKEN}"@codeberg.org/Freeyourgadget/pages.git
- git remote add origin https://Bazsalanszky:"$${GITEA_ACCESS_TOKEN}"@codeberg.org/Bazsalanszky/pages.git
# force push as we removed all data
- git push -f origin master
- git push -f origin main
- cd ../../
- pwd
- ls -la