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

34 lines
887 B
YAML

---
kind: pipeline
name: python
steps:
# - name: badgie
# image: python
# environment:
# USERNAME:
# from_secret: user_gitea
# PASSWORD:
# 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:
- cd /drone/src # Change to the directory containing your Node.js project
- npm install # Install dependencies (if needed)
- npm run serve # Run your npm command
- name: delay
image: alpine
commands:
- sleep 300 # Sleep for 5 minutes (300 seconds)