Support for Monorepos

Open
#79 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, shell, wordpress
Domain
ci-cd, devops, release

Research direction

Start by reading the action entry point and the current use of GITHUB_WORKSPACE to trace how the deployment directory is selected. The work is done when a configured subdirectory can be synced to WordPress.org while the existing whole-workspace behavior remains available.

Written by the indexing model from the issue text.

Description

needs:discussion type:enhancement

Is your enhancement related to a problem? Please describe.
Deploying WordPress plugins to WordPress.org via a monorepo.

Describe the solution you'd like
Instead of deploying the entire branch, it would be nice if a user could alternatively specify a path to the directory which should be synced to WordPress.org. Currently, the action uses the GITHUB_WORKSPACE environment variable for the directory. Maybe this option can be overridden?

Dominant language
Shell
Stars
665
Forks
115
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/action-wordpress-plugin-deploy

All issues in 10up/action-wordpress-plugin-deploy

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.