etiennebacher / altdoc

Alternative to pkgdown to document R packages
https://altdoc.etiennebacher.com
Other
65 stars 9 forks source link

Create GHA workflow for altdoc #122

Closed etiennebacher closed 10 months ago

etiennebacher commented 10 months ago

Close #66

Very much WIP, just the skeleton for now

TODO:

netlify[bot] commented 10 months ago

Deploy Preview for upbeat-hamilton-47df84 ready!

Name Link
Latest commit 72a485e09f355c5342fd5e91464aa880be952126
Latest deploy log https://app.netlify.com/sites/upbeat-hamilton-47df84/deploys/655fbad5e13ff60008b5c8b0
Deploy Preview https://deploy-preview-122--upbeat-hamilton-47df84.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

vincentarelbundock commented 10 months ago

This assumes we want to create an all new website every time, with no customization at all?

vincentarelbundock commented 10 months ago

How about setup_workflow()?

etiennebacher commented 10 months ago

Quarto installation fails because sudo: command not found. @vincentarelbundock do you think it's because we use a rocker container?

vincentarelbundock commented 10 months ago

No idea, which is why I use the script linked above ;)

etiennebacher commented 10 months ago

https://github.com/quarto-dev/quarto-actions/issues/12

There are cases where install-quarto action can't be used (like in docker containers runners).

etiennebacher commented 10 months ago

The CI went through, need to see how it goes after we merge this. Need to update function name, docs, CI template first

vincentarelbundock commented 10 months ago

this is cool

vincentarelbundock commented 10 months ago

Out of curiosity, what is the benefits of pushing to a separate branch vs. just loading it directly from docs/ in main?

etiennebacher commented 10 months ago

this is cool

yes but it still doesn't work because git is not installed / badly configured in the container. I'm exploring now

Out of curiosity, what is the benefits of pushing to a separate branch vs. just loading it directly from docs/ in main?

After a you merge a PR / push some commits, you don't need to pull again to import locally the changes in the docs folder