Skip to content

GitHub action to do Deployment for you #547

@pryrt

Description

@pryrt

@donho,

What do you think about having a GitHub action that would perform the "deployment" (publishing to the website) for you? We could set it up so that it automatically publishes any time a Tag is made. This would mean that I wouldn't have to keep pestering you every time the manual is ready for the next release, freeing up more of your time for focusing on other things. :-)

Details
With using SSH keys stored in encrypted GitHub variables, a GitHub action would be able to copy the bundle to the npp-user-manual.org host machine, and run the command to extract the new version into the correct directory on the server.

If you were okay with me pursuing this, the steps would be:

  1. You let me know what command(s) you use to unbundle, and what directory it goes into
  2. I would do experimental deployments to a machine I have access to, and set up the GitHub Action to work correctly
  3. I would then give you the instructions I'd figured out for correctly creating and storing the SSH key, so that you could do that part
  4. From then on, I should be able to trigger a Tag here, and have it automatically publish the User Manual for us.

If you aren't comfortable with automating that, I understand, and I'll just keep pestering you every once in a while to manually do the next User Manual release. :-)

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions