From 932b6e24b4dd100ef933b746622e044f94e23248 Mon Sep 17 00:00:00 2001 From: Sthope Date: Sat, 2 Sep 2023 15:37:35 +0200 Subject: [PATCH] Update .drone.yml --- .drone.yml | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index 142ae35..dd7e186 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,29 +5,17 @@ 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 + - name: badgie + image: python + environment: + USERNAME: + from_secret: user_gitea + PASSWORD: + from_secret: gitea_token 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) + - 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