This commit is contained in:
parent
b924ffd041
commit
932b6e24b4
38
.drone.yml
38
.drone.yml
@ -5,29 +5,17 @@ name: python
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# - name: badgie
|
- name: badgie
|
||||||
# image: python
|
image: python
|
||||||
# environment:
|
environment:
|
||||||
# USERNAME:
|
USERNAME:
|
||||||
# from_secret: user_gitea
|
from_secret: user_gitea
|
||||||
# PASSWORD:
|
PASSWORD:
|
||||||
# from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
# commands:
|
|
||||||
# - pip install badgie
|
|
||||||
# - badgie -w README.md -s for-the-badge
|
|
||||||
# - git remote set-url origin https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/portainer-template
|
|
||||||
# - git add README.md
|
|
||||||
# - git commit -m "Update README.md 🐦"
|
|
||||||
# - git push origin main
|
|
||||||
|
|
||||||
- name: backend
|
|
||||||
image: node:14 # Use an appropriate Node.js version
|
|
||||||
commands:
|
commands:
|
||||||
- cd /drone/src # Change to the directory containing your Node.js project
|
- pip install badgie
|
||||||
- npm install # Install dependencies (if needed)
|
- badgie -w README.md -s for-the-badge
|
||||||
- npm run serve # Run your npm command
|
# - git remote set-url origin https://$USERNAME:$PASSWORD@git.sthope.dev/sthope/portainer-template
|
||||||
|
- git add README.md
|
||||||
- name: delay
|
- git commit -m "Update README.md 🐦"
|
||||||
image: alpine
|
- git push origin main
|
||||||
commands:
|
|
||||||
- sleep 300 # Sleep for 5 minutes (300 seconds)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user