kind: pipeline name: website steps: - name: prepare image: node:lts commands: - npm install --production-only - name: generate image: jekyll/minimal commands: - chown -R jekyll:jekyll . - jekyll build - name: deploy image: herbysk/drone-plugin-mvdir settings: source: _site target: /var/amber-lang.net/static volumes: - name: hosting path: /var/amber-lang.net when: branch: - gh-pages repo: - amber/amber-website node: amber_web: "true" volumes: - name: hosting host: path: /mnt/storage/VOLUMES/amber-lang.net