Skip to content

feat: add new hook option keep-file-environment #647

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xtulnx
Copy link

@xtulnx xtulnx commented Jul 27, 2023

add new hook option keep-file-environment

  • keep-file-environment - Keep all submitted files. Sending curl -d 'pkg=@res.tar.gz' will retrieve the environment variable HOOK_FILE_PKG, which contains the file path, and HOOK_FILENAME_PKG, which contains the file name as res.tar.gz. If keep-file-environment is true, the file will be preserved after the hook is executed. By default, the corresponding file will be removed after the webhook exits.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant