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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(infra): Automatically docs deployment with CI. #569

Open
yecol opened this issue Jul 31, 2024 · 3 comments
Open

feat(infra): Automatically docs deployment with CI. #569

yecol opened this issue Jul 31, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@yecol
Copy link
Contributor

yecol commented Jul 31, 2024

Describe the enhancement requested

As I inspect the docs.yml and if I have not overlooked something, the action seems only check and build the website?

Maybe we can improve the CI to make the website automatically built and... Deployed!
The practice in graphscope website maybe work:

  • in this repo, docs.yml checks if anything in /docs changes, if yes, either:
    • in repo incubator-graphar-website, keep a synchronized copy of /docs, push the change to that repo, and if any change happens, build and deploy with CI.
    • or even built the website /docs in this repo and push to the branch asf-site of repo incubator-graphar-website directly

using this action: https://github.com/ad-m/github-push-action

Component(s)

Developer Tools

@yecol yecol added the enhancement New feature or request label Jul 31, 2024
@acezen
Copy link
Contributor

acezen commented Jul 31, 2024

Does github support pushing change to another repo in action?

BTW, the Github Actions Policy may give some help about how to use third-party action.

@yecol
Copy link
Contributor Author

yecol commented Jul 31, 2024

I see.
Although the Apache github actions policy allows to use third-party action, (seems it only requires to specify the hash?)
I get your concerns that this solution may have some security issue.

Alternatively, how about this semi-automatic solution?

  • to set the deploy CI in incubator-graphar-website as scheduled nightly: if any changed in /docs then deploy.

@acezen
Copy link
Contributor

acezen commented Jul 31, 2024

I see. Although the Apache github actions policy allows to use third-party action, (seems it only requires to specify the hash?) I get your concerns that this solution may have some security issue.

Alternatively, how about this semi-automatic solution?

  • to set the deploy CI in incubator-graphar-website as scheduled nightly: if any changed in /docs then deploy.

yes, we do have a scheduled nightly workflow in incubator-graphar-website, but the check change step has some problem and not work as expected :(

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
Development

No branches or pull requests

2 participants