--- kind: pipeline name: publish-5m-manifest-package # Mise à jours lorsque la branche master est mise à jours trigger: branch: - master steps: - name: publish-package image: alpine/curl environment: MANIFEST_PACKAGE_TOKEN: from_secret: 5m-manifest-package-token commands: - curl --user IO-Projects:$${MANIFEST_PACKAGE_TOKEN} --ssl-no-revoke --upload-file io-manifest.xsd "https://git.endmove.eu/api/packages/IO-GamesOfficial/generic/5m-manifest/$(cat VERSION)/5m-manifest.xsd" - name: notify image: appleboy/drone-discord when: status: - success - failure settings: webhook_id: from_secret: discord_id webhook_token: from_secret: discord_token