Deploying the Updated Docs¶
Tip
Note that the following guide is only possible for Org admins. If you're stuck at this step, please contact an organization admin to proceed.
Once a conversion-branch PR has been approved & merged into the main repo, it's time to deploy the new docs.
Once the PR has been merged in, the automated build process (from .\github\workflows\ci.yml
) should run, generating a new branch gh-pages
. This is the branch we'll use to generate the hosted page via Github Pages.
Changes in the Repo¶
- Update the
./docs/CNAME
file to reflect the new custom domain (ieae-scripting.docsforadobe.dev
->ai-scripting.docsforadobe.dev
) & ensure this change is committed & pushed- If this isn't committed to the main branch, then every push to the repo (and CI action) will remove this file and lose the custom domain. See this gh-pages issue.
Changes on Github¶
- From the Github repo, set up Pages & have it use this new branch.
Settings
>Pages
> Enable PagesDeploy from a Branch
> Choose the named branch above- For folder, choose "/ (root)"
- Set up the custom domain (
xx.docsforadobe.dev
)- This may already be defined by the above CNAME file, but check here just in case.
- Enable "Enforce HTTPs"
Changes on web host¶
- In the domain registrar / web host, enable DNS-only hosting for this domain
- Add a CNAME record pointing to
docsforadobe.github.io
- Apply for an SSL cert
- Remove any readthedocs.io hooks from the Github repo
- Set up branch permissions to require PRs to the main branch
Changes in readthedocs.io¶
- Remove the legacy docs from readthedocs.io