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