diff --git a/.drone.yml b/.drone.yml index a1e4164..6635a45 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,10 +8,13 @@ clone: steps: - name: Clone image: alpine/git + environment: + USERNAME: + from_secret: user_gitea + PASSWORD: + from_secret: gitea_token commands: - - ls -l - - git clone https://git.sthope.dev/sthope/portainer-template.git . - - ls -l + - git clone https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/portainer-template.git . - name: badgie image: python @@ -25,9 +28,6 @@ steps: GIT_SSH_KEY: from_secret: gitea_token commands: - - cat README.md - - git config user.name "sthope" - - git config user.email "rjs.ricardosilva@gmail.com" - git add README.md - git commit -m "Update README.md 🐦" - git push origin main \ No newline at end of file