Skip to content

shopware/shopware-cli-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

190 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopware CLI GitHub Action

Easily install the Shopware CLI in your GitHub Actions workflows. Ready-to-use for building and packaging Shopware extensions in your CI pipelines.

Prerequisites

  • A GitHub repository using GitHub Actions.
  • Recommended: Use on a Linux runner (e.g., ubuntu-latest).

Setup

Create a file in your repository (e.g., .github/workflows/shopware-cli.yml) with the following contents:

name: shopware-cli

on:
  pull_request:
  push:

permissions:
  contents: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Install Shopware CLI
        uses: shopware/shopware-cli-action@v3

      - name: Build and Package Extension
        run: shopware-cli extension zip .

More Information

For more Shopware CLI documentation, visit our developer docs.

About

GitHub Action to Install Shopware CLI

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors