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

GitHub Action Deploy GH Pages #698

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

jwaspin
Copy link
Contributor

@jwaspin jwaspin commented Oct 4, 2024

Closes #701

Testing

This cannot be tested without merging this PR. In order to test this action, this PR must be merged and a new PR opened and merged to push these changes into the master branch. Merging a PR into the master branch is how this action can be tested.

That being said, I have tested this by forking to jwaspin/mdEditor and deploying to https://mdeditor.jwaspin.dev

CAUTION!! Once this PR has been merged, the current version of development needs to be tested and ready to be deployed before merging development into master (which should be the case anyway). This will cause all PRs merged into master to be deployed to production.

Changes

Automatically deploy mdEditor to gh-pages when merging to master. This action will build the production version of the application, deploy it, then create and tag a release version based on the version in package.json.

Current

Nothing happens when a branch is merged into master.

New

When a branch is merged into master, the new version of mdEditor will be deployed to gh-pages automatically from the new GitHub action added by this PR. After the app has been deployed to the production environment, the master branch will be tagged with the version number in package.json and it will be set as the latest release.

Breaking Changes

IMPORTANT

Not so much "breaking" but it's important to note that once this PR has been merged, all PRs merged into master will automatically be deployed to production.

J-Oliveros and others added 3 commits May 17, 2024 10:27
* Add workflow

* add change to index for test

* change build to production.

* remove header

* change node version

* change install method to yarn
@jwaspin jwaspin marked this pull request as draft October 4, 2024 20:12
@jwaspin jwaspin changed the title Feature/gh actions deploy to pages GitHub Action Deploy GH Pages Nov 26, 2024
@jwaspin jwaspin marked this pull request as ready for review November 26, 2024 02:26
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.

Create GitHub Action for Automated Deployments
2 participants