diff --git a/.drone.yml b/.drone.yml index 02c3409..879f21d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,6 @@ steps: - npm ci - npm test - --- kind: pipeline @@ -21,10 +20,11 @@ type: docker name: deploy-staging trigger: - branch: - - stage event: - push + branch: + exclude: + - master steps: - name: deploy @@ -36,7 +36,7 @@ steps: key: from_secret: deploy-key source: ./ - target: /var/www/jshaver_net/stage + target: /var/www/jshaver_net/stage/${DRONE_BRANCH}/ recursive: true args: - "--files-from=deploy-list.txt"