Go to file
2023-12-26 11:55:01 +01:00
.forgejo/workflows use github.event.pull_request.number 2023-12-26 11:55:01 +01:00
.gitignore initial implementation 2023-08-17 22:36:56 +02:00
action.yml s/<>/{}/ 2023-08-17 23:36:39 +02:00
README.md update the readme 2023-08-18 00:19:19 +02:00



Publish a preview of a Forgejo website at https://forgejo.codeberg.page and post a comment in the PR with the URL.


parameter description required default
directory Directory of the root of the HTML pages true
name The preview is published at https://forgejo.codeberg.page/@{name} true
pages-token A token with repository:write scope on https://codeberg.org/forgejo/pages true
repository A note will be added to the {pr-number} found in the https://codeberg.org/{repository} (for instance forgejo/docs) true
repository-host The Forgejo host were the {repository} resides false codeberg.org
repository-token A token with issue:write scope on the {repository} true
pr-number The id of the pull request to which a notification must be posted (e.g. ${{ env.GITHUB_REF_NAME }}) true