new_site/.github/workflows
Maruan 8893d483bc
Update giscus setup via github action (#1792)
giscus settings in `_config.yml` had al-folio repo specified by default.
many users kept these defaults in their own repos, which resulted in
getting comments from blog posts of different users posted to al-folio
discussions. this is undesirable, since users lose control over the
discussions in their blogs.

this PR solves the issue:
- first, we set `giscus.repo` to blank in `_config.yml`. if the field is
kept blank, when the website is built locally, the user will see a
warning saying that giscus comments are misconfigured.
- second, we add a step to the `deploy` workflow that writes repository
name to `giscus.repo` in `_config.yml`. that way, even if `giscus.repo`
field is left black or set to an incorrect repo, it gets correctly
populated at deployment time.

other small changes in this PR are small stylistic adjustments.
2023-10-04 22:27:36 -04:00
..
deploy-docker-tag.yml Update Tag Deploys to Support M1 Macbooks (#1522) 2023-07-19 09:13:46 +03:30
deploy-image.yml Update Docker Images to support M1 Mac (#1486) 2023-06-29 23:02:28 -07:00
deploy.yml Update giscus setup via github action (#1792) 2023-10-04 22:27:36 -04:00