kind: pipeline type: docker name: default steps: - name: Clonage du Repo image: alpine/git commands: - git clone https://git.deligraph.be/Antoine/Deligraph-V3 - name: Installation du package image: alpine/git commands: - cd Deligraph-V3 - npm install - name: Build du package image: alpine/git commands: - cd Deligraph-V3 - npm run production - name: Deploy to FTP server image: cschlosser/drone-ftps environment: FTP_USERNAME: from_secret: ftp_username FTP_PASSWORD: from_secret: ftp_password PLUGIN_SECURE: false PLUGIN_VERIFY: false PLUGIN_HOSTNAME: sftp://test.deligraph.com PLUGIN_SRC_DIR: / PLUGIN_DEST_DIR: /home/testdeligraph/www/wp-content/themes/Deligraph-v3 PLUGIN_AUTO_CONFIRM: true PLUGIN_DEBUG: true PLUGIN_ONLY_NEWER: true