Skip to content
octopusdeploy

GitHub Action

Create Zip Package for Octopus Deploy

v3.1.1 Latest version

Create Zip Package for Octopus Deploy

octopusdeploy

Create Zip Package for Octopus Deploy

GitHub Action to create a Zip package for Octopus Deploy

Installation

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

              

- name: Create Zip Package for Octopus Deploy

uses: OctopusDeploy/create-zip-package-action@v3.1.1

Learn more about this action in OctopusDeploy/create-zip-package-action

Choose a version

create-zip-package-action

This is a GitHub Action to create a Zip package(s) to push to Octopus Deploy.

Examples

steps:
  - uses: actions/checkout@v3

  # create a Zip package from files in the "reports" folder; create package in "packaging" folder
  - name: Create a Zip package 🐙
    uses: OctopusDeploy/create-zip-package-action@v3
    with:
      package_id: 'DemoPackage'
      version: '1.0.0'
      output_folder: './packaging'
      base_path: reports
      files: |
        **/*.*

📥 Inputs

Name Description
package_id Required. Package id.
version Required. Package version.
output_folder Required. The folder to put the resulting package in, relative to the current working directory, not the base_path.
base_path Required. The base path for the input files.
files Required. Multi-line list of files to include in the package, relative to the base path. Supports globbing.

📤 Outputs

Name Description
package_file_path The full path to the package file that was created.
package_filename The filename, without the path, of the file that was created.

Developers guide

Developers Guide

🤝 Contributions

Contributions are welcome! ❤️ Please read our Contributing Guide for information about how to get involved in this project.