portainer-template/.drone.yml
Sthope de821578b4
Some checks failed
continuous-integration/drone/push Build is failing
Update .drone.yml
2023-09-02 14:18:10 +02:00

33 lines
671 B
YAML

---
kind: pipeline
name: python
clone:
disable: true
steps:
- name: Clone
image: alpine/git
commands:
- ls -l
- git clone https://git.sthope.dev/sthope/portainer-template.git .
- ls -l
- name: badgie
image: python
commands:
- pip install badgie
- badgie -w README.md
- name: update-readme
image: alpine/git
environment:
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