Skip to content
arrow-up

GitHub Action

PackageCloud-Push

V1 Latest version

PackageCloud-Push

arrow-up

PackageCloud-Push

Push packages to PackageCloud via the package_cloud gem

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PackageCloud-Push

uses: QXIP/packagecloud-action@V1

Learn more about this action in QXIP/packagecloud-action

Choose a version

PackageCloud docker action

This action will push packages to PackageCloud using the package_cloud gem.

Inputs

repo

Required The repo to push to.

dir

Required Directory where the packages are. All rpms and debs found here will be pushed.

rpmvers

Required Space separated list of RPM based distro versions to push to. The distro version strings are as per packagecloud

A default value is supplied if no argument is provided.

debvers

Required Space separated list of Debian based distro versions to push to. The distro version strings are as per packagecloud

A default value is supplied if no argument is provided.

Outputs

rpmout

Stdout from the command execution for rpm packages

debout

Stdout from the command execution for deb packages

Example usage

uses: qxip/packagecloud-action:V1
env:
  PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
with:
  repo: 'your/repository'
  dir: 'dist'