--- kind: pipeline name: publish-5m-manifest-package # Mise à jours lorsque la branche master est mise à jours trigger: branch: - master event: - push steps: # Public the package on the package registery - 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" # Publish the new release on the repository - name: publish-release image: xena/gitea-release:latest when: status: - success settings: auth_username: IO-Projects default_branch: master gitea_server: https://git.endmove.eu gitea_token: from_secret: 5m-manifest-package-token # Notify discord that a new build is available - name: notify image: appleboy/drone-discord when: status: - success - failure settings: webhook_id: from_secret: discord_id webhook_token: from_secret: discord_token