pipeline: setup: image: node:18 commands: - npm install lint: image: node:18 commands: - npm run lint linux_package: group: packaging image: node:18 commands: - npm run grunt package when: event: tag gitea_release: image: plugins/gitea-release settings: api_key: from_secret: gitea_api_key base_url: https://git.metaunix.net title: "${CI_COMMIT_TAG}" files: - "dist/*.deb" when: event: tag copy_deb_package: image: appleboy/drone-scp settings: host: "repo.int.metaunix.net" username: from_secret: repo_admin password: from_secret: repo_password port: 22 target: /srv/repo/apt/overseer/ source: target/debian/overseer*.deb strip_components: 2 when: event: tag update_repos: image: appleboy/drone-ssh settings: host: - repo.int.metaunix.net username: from_secret: repo_admin password: from_secret: repo_password port: 22 command_timeout: 2m script: - "sudo ~/scripts/update_repo.sh" when: event: tag