diff --git a/.drone.yml b/.drone.yml index 2da368d..07bc773 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,11 +9,6 @@ steps: commands: - npm install - npm run build - when: - branch: - - main - event: - - push - name: deploy image: cschlosser/drone-ftps @@ -27,25 +22,6 @@ steps: PLUGIN_DEST_DIR: /www PLUGIN_SRC_DIR: /build PLUGIN_EXCLUDE: (.htaccess)|(.git) - when: - branch: - - main - event: - - push - -# - name: deploy -# image: cschlosser/drone-ftps -# hostname: -# from_secret: net2ftp.cluster027.hosting.ovh.net -# environment: -# USERNAME: -# from_secret: username -# PASSWORD: -# from_secret: password -# HOST: -# from_secret: host -# commands: -# - echo $USERNAME -# - echo $PASSWORD -# - echo $HOST -# - lftp -c "open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./build ./www --ignore-time --parallel=10 --exclude .htaccess --exclude-glob .git* --exclude .git/" \ No newline at end of file +trigger: + branch: + - master \ No newline at end of file