diff --git a/.drone.yml b/.drone.yml index d27f790..2457127 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,16 +53,23 @@ steps: - git fetch --tags -p - PREV=$(git describe --tags --abbrev=0) - ./build.sh --publish --from-ci - - git remote add pushing https://$GITEA_USR:$GITEA_PASS@gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform.git - VER=$(git describe --tags --abbrev=0) - CHANGELOG=$(git log $PREV..HEAD --pretty="- %s") - echo "**$VER**\n\n$CHANGELOG\n\n--------------------------------------------------------------------\n\n$(cat CHANGELOG.md)" > CHANGELOG.md - git add CHANGELOG.md - git commit -m "Changelog for $VER [CI SKIP]" - - git push pushing master - - git push pushing --tags environment: TZ: Europe/Paris + + - name: git-push + image: appleboy/drone-git-push + settings: + branch: master + remote: root@aminecmi+giteaadmin@pm.me:Louvorg/ReaderForSelfoss-multiplatform.git + followtags: true + ssh_key: + from_secret: privateKey + environment: GITEA_USR: from_secret: giteaUsr GITEA_PASS: