portainer-template/.drone.yml
Sthope c4bff9dc48
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
2023-09-02 14:28:33 +02:00

33 lines
658 B
YAML

---
kind: pipeline
name: python
clone:
disable: true
steps:
- name: Clone
image: alpine/git
environment:
USERNAME:
from_secret: user_gitea
PASSWORD:
from_secret: gitea_token
commands:
- git clone https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/portainer-template.git .
- 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:
- git add README.md
- git commit -m "Update README.md 🐦"
- git push origin main