2022-07-13 13:40:23 -07:00
# Configure-Pages
2022-06-10 13:29:44 -07:00
2022-07-13 13:40:23 -07:00
An action to enable Pages and extract various metadata about a site. It can also be used to configure various static site generators we support as [starter workflows][starter-workflows].
2022-06-10 13:29:44 -07:00
2022-07-13 13:40:23 -07:00
# Usage
2022-07-13 13:44:27 -07:00
See [action.yml ](action.yml ) and the [Pages starter workflows][starter-workflows].
2022-06-10 13:29:44 -07:00
# Release instructions
In order to release a new version of this Action:
2022-07-13 13:44:27 -07:00
1. Locate the semantic version of the upcoming release (a draft is maintained by the [`draft-release` workflow][draft-release])
2022-06-10 13:29:44 -07:00
2. Push a matching tag, for instance for `v0.1.0` :
```bash
git tag v0.1.0
git push origin v0.1.0
` ``
2022-07-13 13:44:27 -07:00
3. Publish the draft release (the major tag such as ` v0` will be created/updated by the [` release` workflow][release])
2022-06-10 13:29:44 -07:00
⚠️ Environment approval is required.
2022-07-13 13:40:23 -07:00
# License
The scripts and documentation in this project are released under the [MIT License ](LICENSE ).
<!-- references -->
2022-07-13 13:44:27 -07:00
[starter-workflows]: https://github.com/actions/starter-workflows/tree/main/pages
[draft-release]: .github/workflows/draft-release.yml
[release]: .github/workflows/release.yml