x-govuk / govuk-design-history-template

Document and share design decisions. Create a permanent record of how your service has developed over time.
MIT License
23 stars 9 forks source link

Enable GitHub Pages from within action #305

Closed frankieroberto closed 1 month ago

frankieroberto commented 2 months ago

This enables GitHub Pages from the action, so that users don’t get this error, and then have to enable it manually themselves:

Error: Get Pages site failed. Please verify that the repository 
has Pages enabled and configured to build using GitHub Actions, 
or consider exploring the `enablement` parameter for this action.

Should resolve #304 I think, in that the default template should immediately deploy successfully. Anyone wanting to deploy to another host though would then have to disable it by deleting deploy.yml and disabling it from the Settings...