`options` is not working

Open
#72 2 comments 7 reactions 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
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, typescript
Domain
ci-cd

Research direction

Start with the options example in README and reproduce both YAML forms against the GitHub Action, comparing them with Deployer's CLI -o behavior. Trace how the action receives and forwards options; done means the documented syntax parses successfully and keep_releases: 7 is applied during deployment.

Written by the indexing model from the issue text.

Description

The options input provided in the README is not working:

  - name: Deploy
    uses: deployphp/action@v1
    with:

      # Config options for the Deployer. Same as the `-o` flag in the CLI.
      # Optional.
      options:
        keep_releases: 7

When trying to use it, i have a syntax error message.

I also tried this syntax: no error, but options are ignored.

      options: |
        keep_releases: 7

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Dominant language
TypeScript
Stars
269
Forks
56
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 deployphp/action

All issues in deployphp/action

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.