Conversation
|
We now have a The output is HTML files. Because these are generated HTML docs, these make more sense as part of the build-deployment process rather than source documentation. The idea is to create a build stage job called This runs concurrently build the build of the packages it only runs on the master. So only when master builds do we end up creating the docs. However we just end up producing a special directory. That directory should then be deployed to gh-pages. |
|
The idea is to do this: typedoc --mode modules --out /tmp/docs src
git checkout --orphan gh-pagesThis creates a new branch with no history. I then delete everything in the current directory except Then I move back After But remember ignored stuff might be left there. Also removed the |
|
One problem is when That will remove everything in the current directory except Then we can move back the docs into it. |
|
Ok so then the idea is that the CI/CD needs to produce Then we need to use It's probably better to just send a PR for now. |
|
The docs are being hosted here: https://matrixai.github.io/TypeScript-Demo-Lib/ |
|
So the idea is to use: Note that if the user has access. The |
|
Interactive authentication gh tokens is in the |
|
There is However that appears to be on a later version of |
|
Updating to 42674051d12540d4a996504990c6ea3619505953 leads to being able to use So now we can attempt to create a PR. |
|
So this ends up failing: Because it says: I think I guess if you are going to do this. You should already be in a different git repo or git branch with shared history to the branch. So it make sense if the bot clones this repo and does it. Might not work from my own repo. Time to try it. |
|
Another issue is that But what is the git user is I believe this is done in We can also do: Or: Only the name is actually required. The email is optional. |
|
The And then added to Gitlab OS group. As well as the above additional environment variables. So going to try to merge this and see what happens since it has to take place inside Gitlab. |
da03190 to
fa60cf9
Compare
|
So by changing This allows us to do: Thus allowing us to bring in packages while pinning to specific commit revisions in the pkgs.nix instead of just the overlay. |
…ix to latest 20.03
Fixing #8