diff --git a/workflow-templates/debian-package-deliver-pipeline.properties.json b/workflow-templates/debian-package-deliver-pipeline.properties.json new file mode 100644 index 0000000..dd3bf87 --- /dev/null +++ b/workflow-templates/debian-package-deliver-pipeline.properties.json @@ -0,0 +1,12 @@ +{ + "name": "Debian Deliver Package to Artifactory Pipeline", + "description": "This pipeline will take a specific Debian package and deliver it to Artifactory on each GitHub Release.", + "iconName": "octicon package", + "categories": [ + "Artifactory", + "Debian" + ], + "filePatterns": [ + "**/DEBIAN/control" + ] +} diff --git a/workflow-templates/debian-package-deliver-pipeline.yml b/workflow-templates/debian-package-deliver-pipeline.yml new file mode 100644 index 0000000..27e33d7 --- /dev/null +++ b/workflow-templates/debian-package-deliver-pipeline.yml @@ -0,0 +1,25 @@ +# For official documentation on this workflow, please refer to the link below. +# https://github.com/brandwatch/bw-workflow-actions/blob/dev/workflows/debian/debian-package-deliver.yaml.md + +name: CI Pipeline - Build and Deliver Debian Package + +permissions: + checks: write + contents: write + packages: read + +on: + release: + types: [ released ] # can be `published` to run on pre-release instead of production releases + +jobs: + deploy-debian-pipeline: + name: "Build and Deliver Debian Package" + uses: brandwatch/bw-workflow-actions/.github/workflows/debian-build-deliver-package.yaml@dev + with: + package-version: ${{ github.ref_name }} + package-folder: # Location of the folder which contains the DEBIAN subfolder + deb-distributions: + deb-components: + deb-architectures: + secrets: inherit