Deploy your Hyas Site to GitHub Pages
How to deploy
You can deploy a Hyas site to GitHub Pages by using GitHub Actions to automatically build and deploy your site. To do this, your source code must be hosted on GitHub.
Follow the instructions below to deploy your Hyas site to GitHub pages.
Create a new file in your project at
.github/workflows/deploy.ymland paste in the YAML below.
On GitHub, go to your repository’s Settings tab and find the Pages section of the settings.
Choose GitHub Actions as the Source of your site.
Commit the new workflow file and push it to GitHub.
Copy the Your site is published at URL and paste it as
canonifyURLs = truein
Push the changes to GitHub and wait for the action to finish succesfully (after approximately 30 seconds).
That’s it. After a minute or so, you site is avaliable at the Your site is published at URL. When you push changes to your Hyas project’s repository, the GitHub Action will automatically deploy them for you.