sanman1k98 / www

Source code for my website
https://nicesandeep.com
MIT License
2 stars 0 forks source link

Website deployment #1

Closed sanman1k98 closed 1 year ago

sanman1k98 commented 1 year ago

Build locally

I want to be able to build and upload the static files locally, and have have a workflow that is solely focused on the deployment step. Reasons for this method of deployment are:

CalVer releases

I want to able to keep track of different iterations of my website using some sort of CalVer scheme, something like YYYY.MM.MINOR.MICRO. For example, 2023.7.0-dev, 2023.7.0, 2023.7.2.8

Also, instead of having a main branch for active development and a separate long-lived branch to point to source code for the current deployment, we can tag commits with a calendar version and leverage Releases in GitHub to document and share changes.

Automation

I want to be able to tag commits, create releases, and run deployments using scripts that I can execute locally, or execute when triggering a GitHub workflow. At some point we can generate release notes using commit messages and maybe automate taking a screenshot of the website to be viewed in the release.

Resources

sanman1k98 commented 1 year ago

Important to note, the workflow file must be present in their respective branches to run.

sanman1k98 commented 1 year ago

Closing this issue; I will create separate issues for tagging and creating releases.