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

[3.x] Add deployment history #131

Merged
merged 3 commits into from
Nov 22, 2021
Merged

[3.x] Add deployment history #131

merged 3 commits into from
Nov 22, 2021

Conversation

tobischulz
Copy link
Contributor

The ManagesSite action and the Site resource got new methods to get site deployment history from forge. Used the Forge API endpoints https://forge.laravel.com/api-documentation#deployment-history.

Site Resource

  • getDeploymentHistory() ;
  • getDeploymentHistoryDeployment($deploymentId);
  • getDeploymentHistoryOutput($deploymentId);

ManagesSites Action

  • deploymentHistory($serverId, $siteId);
  • deploymentHistoryDeployment($serverId, $siteId, $deploymentId)
  • deploymentHistoryOutput($serverId, $siteId, $deploymentId)

This lets a user get the deployment history, a single history deployment by id and a specific deployment output.

Method naming might not be perfect.

Thanks

@driesvints driesvints changed the title added deployment history [3.x] Add deployment history Oct 22, 2021
@jbrooksuk jbrooksuk self-requested a review October 28, 2021 15:34
src/Resources/Site.php Outdated Show resolved Hide resolved
src/Actions/ManagesSites.php Outdated Show resolved Hide resolved
src/Actions/ManagesSites.php Outdated Show resolved Hide resolved
Co-authored-by: James Brooks <jamesb@hey.com>
Copy link
Contributor

@tfevens tfevens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested changes completed. 👍

@driesvints driesvints merged commit 920ffda into laravel:3.x Nov 22, 2021
@driesvints
Copy link
Member

Thanks @tobischulz

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

Successfully merging this pull request may close these issues.

4 participants