Skip to content

A Github Action to deploy a hugo website to a server via SSH.

License

Notifications You must be signed in to change notification settings

ungeschneuer/hugo-gh-actions-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Github Action For Deploying HUGO Website On Own Server

A Github Action to deploy a hugo website to a server via SSH.

I did not find any GH Action script to deploy my hugo page to my own server, so here it is.

The SSH Action needs parameter to work which should not just be saved in the repo but as secrets. It allows for more parameter than I used. More about that in its documentation.

Actions Used

https://github.com/actions/setup-node
https://github.com/peaceiris/actions-hugo
https://github.com/actions/cache
https://github.com/easingthemes/ssh-deploy

About

A Github Action to deploy a hugo website to a server via SSH.

Resources

License

Stars

Watchers

Forks