--- 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)