diff --git a/.drone.yml b/.drone.yml index d27f790..b2f1cfe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -50,6 +50,8 @@ steps: image: ubuntu:latest commands: - apt-get update && apt-get install -y git + - mkdir $HOME/.ssh/ + - echo "$key" > $HOME/.ssh/id_git_rsa - git fetch --tags -p - PREV=$(git describe --tags --abbrev=0) - ./build.sh --publish --from-ci @@ -59,14 +61,16 @@ steps: - 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 + - git push pushing master -v + - git push pushing --tags -v environment: TZ: Europe/Paris GITEA_USR: from_secret: giteaUsr GITEA_PASS: from_secret: giteaPass + key: + from_secret: privateKey - name: scpFiles image: appleboy/drone-scp