mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-01 05:47:10 +01:00
Fix steps in nightly build
This commit is contained in:
parent
891215fcb3
commit
e2f36c334b
@ -35,35 +35,34 @@ steps:
|
|||||||
- git reset --soft HEAD~1
|
- git reset --soft HEAD~1
|
||||||
- git status
|
- git status
|
||||||
|
|
||||||
update-fdroid-data:
|
update-fdroid-data:
|
||||||
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- pwd
|
||||||
- cd ../repoconfig/fdroid-repo-config/
|
- cd ../repoconfig/fdroid-repo-config/
|
||||||
# get secrets from storage
|
# get secrets from storage
|
||||||
- cp
|
- cp
|
||||||
- fdroid update
|
- fdroid update
|
||||||
- fdroid deploy
|
- fdroid deploy
|
||||||
- ls -laR repo
|
- ls -laR repo
|
||||||
secrets: [ signing_key, keystorepass, keypass ]
|
|
||||||
|
|
||||||
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:
|
||||||
- if [ -f .do_not_build ]; then return 0; fi
|
- if [ -f .do_not_build ]; then return 0; fi
|
||||||
- cd ../pages/pages/
|
- cd ../pages/pages/
|
||||||
- git add -A
|
- git add -A
|
||||||
- git status
|
- git status
|
||||||
- git diff
|
- git diff
|
||||||
- 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://"$${GITEA_ACCESS_TOKEN}"@codeberg.org/Freeyourgadget/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 master
|
||||||
- cd ../../
|
- cd ../../
|
||||||
- pwd
|
- pwd
|
||||||
- ls -la
|
- ls -la
|
||||||
secrets: [ GITEA_ACCESS_TOKEN ]
|
secrets: [ GITEA_ACCESS_TOKEN ]
|
||||||
when:
|
when:
|
||||||
event: cron
|
event: cron
|
Loading…
Reference in New Issue
Block a user