Skip to content
share

GitHub Action

Chef Supermarket Action

v1 Latest version

Chef Supermarket Action

share

Chef Supermarket Action

Share cookbooks on the public supermarket

Installation

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

              

- name: Chef Supermarket Action

uses: afaundez/chef-supermarket-action@v1

Learn more about this action in afaundez/chef-supermarket-action

Choose a version

Chef Supermarket Action

Shares cookbook on the public supermarket.

Workflow example

name: chef supermaket
on:
  release:
    types: [published]

jobs:
  share:
    runs-on: ubuntu-latest

    steps:
      - name: Check out code
        uses: actions/checkout@master
      - name: Run Chef Supermarket Share
        uses: afaundez/chef-supermarket-action@master
        secrets:
          - SUPERMARKET_API_KEY
        with:
          cookbook: <the cookbook name>
          category: <the category>
          user: <the supermarket username>