This commit is contained in:
parent
de821578b4
commit
c4bff9dc48
12
.drone.yml
12
.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
|
Loading…
x
Reference in New Issue
Block a user