diff --git a/.drone.yml b/.drone.yml index 8cb5831..a543731 100644 --- a/.drone.yml +++ b/.drone.yml @@ -82,12 +82,7 @@ steps: when: event: include: - - pull_request - action: - include: - - opened - - reopened - - synchronized + - push --- @@ -135,3 +130,33 @@ steps: - opened - reopened - synchronized + +--- + +kind: pipeline +type: docker +name: main-merge-pull-request-prod + +platform: + os: linux + arch: amd64 + +trigger: + branch: + include: + - main + event: + include: + - push + +clone: + disable: true + +steps: + - name: semantic-release + image: gtramontina/semantic-release:17.4.3 + environment: + GITHUB_TOKEN: + from_secret: gitea_token + entrypoint: + - semantic-release \ No newline at end of file