Commit Graph
7 Commits
Author SHA1 Message Date
Chandler Carruth 444e48c210 Restrict publishing job to the main repository. (#104)
See the
[documentation](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idif)
for details on the syntax, and the [context
docs](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context)
for the API used.
2020-07-09 14:48:51 -07:00
Bryce Adelstein Lelbach aka wash 15b0971eae Correct references to the default branch to use the new name, trunk. (#101) 2020-07-03 00:49:36 -07:00
Jon Meow 551de7db93 Use https://github.com/pre-commit/action (#85)
This will run checks and fail if there's a problem. It'll show on PRs alongside the CLA check.
2020-06-25 08:42:55 -07:00
Jon MeowandChandler Carruth f1e4323fda Set up pre-commit (#73)
Added here:

- .pre-commit-config.yaml
- docs/project/contribution_tools.md
- src/scripts/pre-commit-toc.js
- CONTRIBUTING.md
- proposals/* (just to switch TOC formats)

The rest consists of auto-generated fixes.

The switch from doctoc to markdown-toc is because doctoc wants to put a TOC in every file, whereas markdown-toc only does it if you have an insertion point.

Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
2020-06-16 09:09:10 -07:00
Jon Meow 0641a7f30b Fix the renamed build action (#55) 2020-06-04 15:39:59 -07:00
Jon Meow de80a96752 Update jekyll action to push the formatted site (#20)
This is a mix of fixes to the action itself and the jekyll files to make everything work.
2020-05-21 10:13:12 -07:00
Eric 94c6bc9a3f Add github action to publish docs. (#8)
* Add github action to publish docs.

This change add a placeholder action which:

(A) Authenticates with gcloud using the appropriate GCP AS.
(B) Copies the docs/ folder as-is into
www.carbon-lang.dev/test-doc-root/
2020-05-04 20:09:09 -04:00