Update .drone.yml
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
first_admin 2024-08-22 05:09:36 +00:00
parent 3accb6e731
commit ff8f5c4879

View File

@ -1,12 +1,41 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: production name: default
steps: steps:
- name: deploy - name: test
image: alpine image: alpine
commands: commands:
- echo "Deploying to production" - echo "Testing..."
- name: build
image: alpine
commands:
- echo "Building..."
- name: deploy-staging
image: alpine
commands:
- echo "Deploying to stage..."
- name: approval
image: alpine
commands:
- echo "Awaiting manual approval for production deployment."
when: when:
branch: event:
- main - push
status:
- success
- name: deploy-production
image: alpine
commands:
- echo "Deploying to production..."
when:
event:
- push
status:
- success
depends_on:
- approval