Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(github/workflows/docs): deploy GitHub Pages site
Deploy the GitHub Pages site by uploading the `result/usr/share/doc` directory after running `nix build .#docs` in a GitHub Action. Due to GitHub limitations, the `docs` package generates a `result/usr/share/doc/index.html` file redirecting to the documentation entry point at `result/usr/share/doc/docs/index.html`: > If your publishing source is a GitHub Actions workflow, the artifact > that you deploy must include the entry file at the top level of the > artifact. > > (Source: https://docs.github.com/en/pages/getting-started-with-github-pages) References: - https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site#creating-your-site - https://github.com/danth/stylix/blob/fcff15ac5ffbe81f1c66e352f3167c270d79cdab/.github/workflows/docs.yml - https://github.com/nix-community/nixvim/blob/8b500ef1db8c65ebb94b31434146e00efe4e8b9f/.github/workflows/build_documentation.yml
- Loading branch information