We’re using bitbucket for CI but for deployment on test envt we are using Drone. We already have drone.yml that deploys, tests (regression test suite), publishes results from acceptance branch & is triggered by a cron job. Now, i want to have similar steps running but the tests would be different (smoke test suite) after creation of each PR. Will following thing work, if not, kindly suggest the correct one?
kind: pipeline type: docker name: default steps: - name: deployment steps: - name: regression test when: event: - cron cron: - every_night steps: - name: smoke test when: event: - pull_request steps: - name: slack trigger: event: - cron cron: - every_night event: - pull_request