workflow to auto publish jpan-lreq#481
Conversation
|
hi @deniak I have no clue what all this means. Fwiw, you can see how we normally publish our documents at https://w3c.github.io/i18n-editors/echidna-pub/index.html cc @xfq |
|
Note, btw, that the 2-step process we use (1. build to harddrive, 2. publish) is vital, since we need to check that the build has occurred correctly before publishing. This is partly because we rely on special scripting during the build, and we need to check that images have been correctly incorporated, but also (importantly) because sometimes GitHub blocks the build process and we need to wait an hour to be able to build the document. We need to know whether that's the case before publishing to TR. |
|
/cc @kidayasuo (note, this is not for jlreq, but another |
If there's additional steps needed on top of the regular respec snapshot generation, then that PR will not work as is. |
|
@deniak Fuqiao and i will discuss this with you when we can find a suitable time (feel free to suggest). In the meantime, can you reinstate the current process? We have a backlog building that is preventing the work moving ahead. thanks. |
|
@deniak thanks. Seems to be working fine now. Let us know when you are available next week for a chat about the wider process. |
|
Another point worth mentioning is that this repository contains multiple ReSpec documents. Is it possible for us to manually control the publication for each individual document? |
Co-authored-by: Fuqiao Xue <xfq@w3.org>
Yes, the action mentions the path to the spec to be published and there will be one action per spec so you will be able to choose which one you want to trigger. |
|
My initial thoughts are that this could be useful for perhaps the majority of documents. For example, i have just queued up 28 -lreq documents for publication, and pressing a button from the repo rather than building then pushing to TR will probably save a lot of time. The problem is likely to arise for the 30 or so gap analysis documents, which need to be checked after build because they pull in content from GH issues via the GH API, and then use scripting to transform the document. I think we'll probably need to keep the current process for those. Other documents, like jlreq, clreq, string-meta, glossary, etc will probably also be fine to migrate to the new process. I have some questions:
|
|
Btw, the -lreq documents contain preprocessing functions that add content and pull in CSS from a central location. Will this still work? Here's an example: |
Add a GH action workflow to autopublish jpan-lreq using workflow_dispatch to control when we want to trigger the action.
The PR is missing the URL to the decision.
@r12a can you please provide the link to the decision? I already added the secret for that spec in the repo.