dirigible-io / dirigible-io.github.io

Public site of Eclipse Dirigible (dirigible.io) project
https://www.dirigible.io
9 stars 30 forks source link

[CI/CD] Generate Blogs, Releases and News JSON files #64

Closed ThuF closed 3 years ago

ThuF commented 3 years ago

Generate blogs.json, releases.json and news.json files as part of the GitHub CI Action, containing the last 5 entries:

blogs.json:

[
    "2021/10/14/kubernetes-aws-gardener-istio-letsencrypt-dirigible.md",
    "2021/10/11/low-code-mobile-apps-with-dirigible-and-ns.md",
    "2020/12/16/2020-what-a-year-for-eclipse-dirigible.md",
    "2020/11/24/how-to-deploy-eclipse-dirigible-private-docker-image-in-the-sap-cloud-platform-kyma-environment.md"
    "2020/11/24/eclipse-dirigible-sap-identity-and-authentication-service-integration-on-the-sap-cloud-platform.md"
]

The order could be ascending or descending, the goal is to use the generated JSON files in the homepage and automatically update to the latest 5 records, once new blog/release/news is published.

ThuF commented 3 years ago
krasimirdermendzhiev commented 3 years ago

Files are generated - https://github.com/dirigible-io/dirigible-io.github.io/commit/fec780bb7a1e9ae6ab755da8010eb4349c1c1131

[
  "2020/11/24/eclipse-dirigible-sap-identity-and-authentication-service-integration-on-the-sap-cloud-platform.md",
  "2020/11/24/how-to-deploy-eclipse-dirigible-private-docker-image-in-the-sap-cloud-platform-kyma-environment.md",
  "2020/12/16/2020-what-a-year-for-eclipse-dirigible.md",
  "2021/10/11/low-code-mobile-apps-with-dirigible-and-ns.md",
  "2021/10/14/kubernetes-aws-gardener-istio-letsencrypt-dirigible.md"
]
[
  "2021/03/26/news-new-release-5-9.md",
  "2021/04/24/news-new-release-5-10.md",
  "2021/05/27/news-new-release-5-11.md",
  "2021/07/04/news-new-release-5-12.md",
  "2021/09/29/news-new-release-6-0.md"
]
[
  "2017/03/09/news-d-kom-sap-2017.md",
  "2017/03/20/news-eclipseconverge-2017.md",
  "2017/04/07/news-uniteddev-2017.md",
  "2017/10/04/news-javaone-2017.md",
  "2018/05/31/news-jprime-2018.md"
]