This commit is contained in:
parent
e1572ed826
commit
b924ffd041
15
.drone.yml
15
.drone.yml
@ -20,9 +20,14 @@ steps:
|
|||||||
# - git commit -m "Update README.md 🐦"
|
# - git commit -m "Update README.md 🐦"
|
||||||
# - git push origin main
|
# - git push origin main
|
||||||
|
|
||||||
- name: node
|
- name: backend
|
||||||
image: node:14
|
image: node:14 # Use an appropriate Node.js version
|
||||||
commands:
|
commands:
|
||||||
- npm run serve &
|
- cd /drone/src # Change to the directory containing your Node.js project
|
||||||
- sleep 300
|
- npm install # Install dependencies (if needed)
|
||||||
- npm run serve &
|
- npm run serve # Run your npm command
|
||||||
|
|
||||||
|
- name: delay
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- sleep 300 # Sleep for 5 minutes (300 seconds)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user