Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign configuration #4

Open
devnote-dev opened this issue May 8, 2023 · 0 comments
Open

Redesign configuration #4

devnote-dev opened this issue May 8, 2023 · 0 comments
Labels
breaking This is a breaking change enhancement New feature or request

Comments

@devnote-dev
Copy link
Member

The configuration file has been a bit of a confusing mess for a while, the following changes should make it clearer and easier to use:

  • Repo:
    • Address: the repository address
    • The authorization token for the repository
  • Panel:
    • URL: the panel URL
    • Key: the account API key
    • ID: the target server ID
  • Files:
    • Include: a list of file paths or patterns to include
    • Exclude: a list of file paths or patterns to exclude
    • Backup: whether a backup of the current files should be made
    • Truncate: whether the current files should be removed
  • Signal:
    • Kill: whether the server should be killed or stopped
    • Timeout: the amount of time in milliseconds to wait after sending the signal

The pre_run and post_run hooks will no longer be used. Repository authentication is still experimental.

@devnote-dev devnote-dev added enhancement New feature or request breaking This is a breaking change labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This is a breaking change enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant