Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Update git portion of the cpanel auto deploy bash script #10

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

thejmitchener
Copy link
Member

@thejmitchener thejmitchener commented Apr 7, 2024

Updates the git portion of the cPanel auto deploy bash script to improve the deployment process.
Previously, the script performed unnecessary operations like resetting to the git head commit, checking for untracked files, stashing changes, and pulling the latest version of the app.
The updated script now simplifies the process by fetching the latest version from the origin branch and resetting to the git head commit of the current branch.
These changes streamline the deployment process and ensure a more efficient and reliable deployment workflow.

…for untracked files and directories and delete them, stash changes if there are modifications to tracked files and immediately drop stash, pull the latest version of the app, and install composer dependencies. These changes were made to ensure that the codebase is up to date and to install the necessary dependencies for the application.
@thejmitchener thejmitchener merged commit f50b6de into main Apr 7, 2024
2 checks passed
@thejmitchener thejmitchener deleted the update-bash-script branch April 7, 2024 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant