From e2f36c334b692f07cf8432407cc53e9915a706d4 Mon Sep 17 00:00:00 2001 From: Balazs Toldi Date: Sun, 13 Aug 2023 22:04:25 +0200 Subject: [PATCH] Fix steps in nightly build --- .woodpecker/nightly.yaml | 57 ++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/.woodpecker/nightly.yaml b/.woodpecker/nightly.yaml index cde07238..6e48a394 100644 --- a/.woodpecker/nightly.yaml +++ b/.woodpecker/nightly.yaml @@ -35,35 +35,34 @@ steps: - git reset --soft HEAD~1 - git status - update-fdroid-data: - image: codeberg.org/freeyourgadget/android-fdroid-tools:latest - commands: - - pwd - - cd ../repoconfig/fdroid-repo-config/ - # get secrets from storage - - cp - - fdroid update - - fdroid deploy - - ls -laR repo - secrets: [ signing_key, keystorepass, keypass ] + update-fdroid-data: + image: codeberg.org/freeyourgadget/android-fdroid-tools:latest + commands: + - pwd + - cd ../repoconfig/fdroid-repo-config/ + # get secrets from storage + - cp + - fdroid update + - fdroid deploy + - ls -laR repo - push-pages-update-repo: - image: codeberg.org/freeyourgadget/android-fdroid-tools:latest - commands: - - if [ -f .do_not_build ]; then return 0; fi - - cd ../pages/pages/ - - git add -A - - git status - - git diff - - 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 - # force push as we removed all data - - git push -f origin master - - cd ../../ - - pwd - - ls -la - secrets: [ GITEA_ACCESS_TOKEN ] + push-pages-update-repo: + image: codeberg.org/freeyourgadget/android-fdroid-tools:latest + commands: + - if [ -f .do_not_build ]; then return 0; fi + - cd ../pages/pages/ + - git add -A + - git status + - git diff + - 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 + # force push as we removed all data + - git push -f origin master + - cd ../../ + - pwd + - ls -la + secrets: [ GITEA_ACCESS_TOKEN ] when: event: cron \ No newline at end of file