8000 feat: add the `repo` parameters for actions and contributors by razonyang · Pull Request #57 · hbstack/revision · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add t 8000 he repo parameters for actions and contributors #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2024

Conversation

razonyang
Copy link
Member
@razonyang razonyang commented May 17, 2024

It's an alternative for users whose don't want to use content-panel, but the repo's actions and information.

Closes #56

image

To get rid of encountering rate limit issue from GitHub API, which may cause build failed, it's recommend to specify GITHUB_TOKEN env var, please note that there maybe a cached issue, so that you may not get timely API data.
see https://gohugo.io/getting-started/configuration/#configure-file-caches to tweak the cache expiration.

// params.yaml
hb:
  revision:
    repo_service: github # required, support GitHub only.
    repo_owner: hbstack # required.
    repo_name: site # required.
    repo_branch: main # default to master.
    repo_subpath: '' # optional, default to empty string.
    repo_contributors: true # whether to show contributors, default to false.
    repo_actions: true # default to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show all contributors for current page
1 participant
0