Skip to content

Update README.md to add instructions for how to add workflow to automate deployment on pushes to master branch #198

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 2 commits into
base: master
Choose a base branch
from

Conversation

caitlynrawlings
Copy link

I added an optional step 10 in the README.md that describes how to set up a GitHub workflow to automate the deployment process. This workflow triggers the npm run deploy command to update the gh-pages branch whenever changes are pushed to the master branch, ensuring the deployed website on GitHub Pages is always up to date.

I initially wrote this workflow for personal use to avoid manual update of GitHub pages. I believe it will be helpful for others who want their changes on the main branch to be automatically reflected on GitHub Pages without additional steps.

# 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