variables: - &http_vol '/srv/http/drone:/http' - &pub_vol '/mnt/android/lineage:/publish' matrix: include: - device: mondrianwifi version: 20.0 - device: mondrianlte version: 20.0 skip_clone: true pipeline: publish: pull: true image: alpine commands: - mv /http/lineage-$version-*-UNOFFICIAL-$device.zip* /publish/$version/$device/ - cat /http/changelog-$device-$version.md >> /publish/$version/$device/changelog.md - rm -f /http/changelog-$device-$version.md - ls -lh /publish/$version/$device/ volumes: - *http_vol - *pub_vol when: event: - deployment