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

Buttons to execute custom commands #127

Closed
hacdias opened this issue Jul 18, 2017 · 3 comments
Closed

Buttons to execute custom commands #127

hacdias opened this issue Jul 18, 2017 · 3 comments
Labels
feature ☘ Request for new features

Comments

@hacdias
Copy link
Member

hacdias commented Jul 18, 2017

From @brasilikum on September 2, 2016 7:15

Imagine the following usecase:
A static hugo website is persisted in a git repository.
The productive version is at the master branch and automatically updated to be served at domain.com.
The staging version is at branch 'staging' and served at staging.domain.com with basic auth.
Both environments would be completely separate.
It would be awsome if the administrator could define a button, in this case 'send to production'.
If an author finished changes at the staging environment, he/she would press the button, which would trigger a script like 'git add . && git commit -m "" && git push'
The administrator would then review the branch and merge it into 'master', which would lead to the production environment updating automatically.

The functionality needed from caddy-hugo would be custom buttons that could be created from an administrator. What do you think, is this in scope?

Copied from original issue: hacdias/filemanager-old#25

@hacdias hacdias added enhancement ⚙ Improve an existing feature idea labels Jul 18, 2017
@hacdias
Copy link
Member Author

hacdias commented Jul 18, 2017

Thanks for moving this. :)

@hacdias
Copy link
Member Author

hacdias commented Jul 25, 2017

@brasilikum, do you still find this useful?

@hacdias hacdias added this to the 1.3.0 milestone Aug 10, 2017
@hacdias hacdias removed this from the 1.3.0 milestone Sep 10, 2017
@hacdias hacdias changed the title Allow buttons that execute custom commands Buttons that execute custom commands Jan 6, 2019
@hacdias hacdias changed the title Buttons that execute custom commands Buttons to execute custom commands Jan 6, 2019
@hacdias hacdias added feature ☘ Request for new features and removed enhancement ⚙ Improve an existing feature idea labels Jan 6, 2019
@hacdias
Copy link
Member Author

hacdias commented Jan 9, 2020

I'm closing this since this repository will be archived. Please read the information on the README for more information. Thanks for all your contributions!

@hacdias hacdias closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ☘ Request for new features
Projects
None yet
Development

No branches or pull requests

1 participant