This commit is contained in:
parent
bb12846f36
commit
ca5fa8f164
16
.drone.yml
16
.drone.yml
@ -2,19 +2,8 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: python
|
name: python
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
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
|
- name: badgie
|
||||||
image: python
|
image: python
|
||||||
@ -25,9 +14,12 @@ steps:
|
|||||||
- name: update-readme
|
- name: update-readme
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
environment:
|
environment:
|
||||||
GIT_SSH_KEY:
|
USERNAME:
|
||||||
|
from_secret: user_gitea
|
||||||
|
PASSWORD:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
commands:
|
commands:
|
||||||
|
- git remote set-url origin https://$USERNAME:$PASSWORD@git.sthope.dev/sthope
|
||||||
- git add README.md
|
- git add README.md
|
||||||
- git commit -m "Update README.md 🐦"
|
- git commit -m "Update README.md 🐦"
|
||||||
- git push origin main
|
- git push origin main
|
Loading…
x
Reference in New Issue
Block a user