6 Commits

Author SHA1 Message Date
James M. Greene
6a57e48bf6 Merge pull request #12 from actions/release-procedure
Update release procedure
2022-08-10 14:20:53 -05:00
James M. Greene
724b9438f5 Update release procedure 2022-08-10 14:12:37 -05:00
James M. Greene
f422a5a910 Lowercase the README title 2022-08-10 14:03:15 -05:00
James M. Greene
0ab6893735 Merge pull request #11 from actions/marketplace-action-rename
Rename to include "GitHub" in "GitHub Pages" for Marketplace
2022-08-10 14:02:16 -05:00
James M. Greene
fd7afbc054 Add author 2022-08-10 13:59:28 -05:00
James M. Greene
16e781d8a4 Update action.yml 2022-08-10 12:49:12 -05:00
2 changed files with 11 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
# Upload-Pages-Artifact
# upload-pages-artifact
A composite action for packaging and uploading artifact that can be deployed to [GitHub Pages][pages].
A composite Action for packaging and uploading artifact that can be deployed to [GitHub Pages][pages].
# Scope
@@ -30,18 +30,13 @@ The [`tar` file][tar] must:
In order to release a new version of this Action:
1. Locate the semantic version of the upcoming release (a draft is maintained by the [`draft-release` workflow][draft-release])
1. Locate the semantic version of the [upcoming release][release-list] (a draft is maintained by the [`draft-release` workflow][draft-release]).
2. Push a matching tag, for instance for `v0.1.0`:
2. Publish the draft release from the `main` branch with semantic version as the tag name, _with_ the checkbox to publish to the GitHub Marketplace checked. :ballot_box_with_check:
```bash
git tag v0.1.0
git push origin v0.1.0
```
3. After publishing the release, the [`release` workflow][release] will automatically run to create/update the corresponding the major version tag such as `v0`.
3. Publish the draft release (the major tag such as `v0` will be created/updated by the [`release` workflow][release])
⚠️ Environment approval is required.
⚠️ Environment approval is required. Check the [Release workflow run list][release-workflow-runs].
# License
@@ -49,7 +44,9 @@ The scripts and documentation in this project are released under the [MIT Licens
<!-- references -->
[pages]: https://pages.github.com
[release-list]: /releases
[draft-release]: .github/workflows/draft-release.yml
[release]: .github/workflows/release.yml
[release-workflow-runs]: /actions/workflows/release.yml
[gzip]: https://en.wikipedia.org/wiki/Gzip
[tar]: https://en.wikipedia.org/wiki/Tar_(computing)
[tar]: https://en.wikipedia.org/wiki/Tar_(computing)

View File

@@ -1,5 +1,6 @@
name: "Upload Pages artifact"
name: "Upload GitHub Pages artifact"
description: "A composite action that prepares your static assets to be deployed to GitHub Pages"
author: "GitHub"
inputs:
path:
description: "Path of the directory containing the static assets."