Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate docs publication #1016

Closed
cristaloleg opened this issue Jan 5, 2021 · 1 comment 路 Fixed by #1375 or go-critic/go-critic.github.io#20
Closed

Automate docs publication #1016

cristaloleg opened this issue Jan 5, 2021 · 1 comment 路 Fixed by #1375 or go-critic/go-critic.github.io#20
Assignees
Labels
enhancement New feature or request

Comments

@cristaloleg
Copy link
Member

Currently docs (overview.md file to be exact) isn't updated automatically in this repo https://github.com/go-critic/go-critic.github.io but it can be 馃槃

To generate new docs you need to run make docs from this repo. And then add a PR/commit to the repo mentioned above. Looks like this can be automated via Github Actions, slightly hacky but should work https://github.community/t/triggering-by-other-repository/16163/4

@cristaloleg cristaloleg added the help wanted Extra attention is needed label Jan 5, 2021
@cristaloleg cristaloleg self-assigned this May 28, 2021
@cristaloleg cristaloleg removed the help wanted Extra attention is needed label May 28, 2021
@cristaloleg cristaloleg added the enhancement New feature or request label Feb 24, 2023
lasiar added a commit to lasiar/go-critic that referenced this issue Oct 9, 2023
lasiar added a commit to lasiar/go-critic that referenced this issue Oct 9, 2023
lasiar added a commit to lasiar/go-critic.github.io that referenced this issue Oct 9, 2023
lasiar added a commit to lasiar/go-critic.github.io that referenced this issue Oct 9, 2023
@lasiar
Copy link
Contributor

lasiar commented Oct 9, 2023

Diagram from #1375

Duplicate diagram image

There were two ways:

  1. Send file via dispatches
    props: simple
    cons: limit of size of file

  2. Checkout this repo in actions of https://github.com/go-critic/go-critic.github.io and copy file
    props: no limit
    cons: need another token
    cons: job takes longer to complete

I chose the first option.

cristaloleg pushed a commit to go-critic/go-critic.github.io that referenced this issue Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants