diff --git a/.github/workflows/zola-deploy.yml b/.github/workflows/zola-deploy.yml index de25793..1e89bab 100644 --- a/.github/workflows/zola-deploy.yml +++ b/.github/workflows/zola-deploy.yml @@ -2,11 +2,17 @@ name: Zola on GitHub Pages on: push: - branches: - - prod_zola + branches: ["prod_zola"] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + jobs: - build_and_deploy: + build: runs-on: ubuntu-latest steps: - name: Checkout prod @@ -32,13 +38,23 @@ jobs: cd website ./build/init-topics.sh ../valkey-doc/topics ./build/init-commands.sh ../valkey-doc/commands ../valkey/src/commands - -# - name: Build and deploy -# uses: shalzz/zola-deploy-action@v0.18.0 -# env: -# PAGES_BRANCH: gh-pages -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build only uses: shalzz/zola-deploy-action@v0.18.0 env: - BUILD_ONLY: true \ No newline at end of file + BUILD_DIR: website + BUILD_ONLY: true + BUILD_THEMES: false + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./website/public + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index d83d9ea..025317d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ content/commands/* !content/commands/_index.md content/docs/topics/* !content/docs/topics/_index.md +_site \ No newline at end of file diff --git a/config.toml b/config.toml index 261232b..4446825 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,8 @@ compile_sass = true build_search_index = true +generate_feed = true + [markdown] highlight_code = true diff --git a/content/blog/2024-04-12-hello-world.md b/content/blog/2024-04-12-hello-world.md index 77f9038..5028636 100644 --- a/content/blog/2024-04-12-hello-world.md +++ b/content/blog/2024-04-12-hello-world.md @@ -5,8 +5,10 @@ aliases = [ "/blog/update/2024/04/hello-world/" ] description= "Welcome! For the inaugural blog post on valkey.io, I’d like to recap the story so far, what to look forward to, and then describe how this blog works." -[extra] authors= ["kyledvs"] + +[extra] + categories= "update" +++ diff --git a/content/blog/2024-04-16-valkey-7-2-5-out.md b/content/blog/2024-04-16-valkey-7-2-5-out.md index 2b9da8a..ad1f9cc 100644 --- a/content/blog/2024-04-16-valkey-7-2-5-out.md +++ b/content/blog/2024-04-16-valkey-7-2-5-out.md @@ -5,9 +5,10 @@ aliases= [ "/blog/modules/2024/05/modules-101/" ] description= "Exciting times!I'm pleased to announce that you can start using the first generally available, stable Valkey release today." +authors= ["kyledvs"] [extra] -authors= ["kyledvs"] + categories= "update" +++ diff --git a/content/blog/2024-04-26-modules-101.md b/content/blog/2024-04-26-modules-101.md index e594c7e..4750bca 100644 --- a/content/blog/2024-04-26-modules-101.md +++ b/content/blog/2024-04-26-modules-101.md @@ -5,8 +5,10 @@ aliases= [ "/blog/update/2024/04/valkey-7-2-5-out/" ] description= "The idea of modules is to allow adding extra features (such as new commands and data types) to Valkey without making changes to the core code." -[extra] authors= ["dmitrypol"] + +[extra] + categories= "modules" +++ diff --git a/content/blog/2024-05-24-may-roundup.md b/content/blog/2024-05-24-may-roundup.md new file mode 100644 index 0000000..2bde601 --- /dev/null +++ b/content/blog/2024-05-24-may-roundup.md @@ -0,0 +1,47 @@ ++++ +title= "What's new in Valkey for May 2024" +date= 2024-05-24 01:01:01 +aliases= [ + "/blog/modules/2024/05/may-roundup/" +] +description= "It's become clear that people want to talk about Valkey and have been publishing blog posts/articles fervently. Here you'll find a collection of all the post I'm aware of in the last few weeks." +authors= ["kyledvs"] + +[extra] +categories= "update" ++++ + +It's become clear that people want to talk about Valkey and have been publishing blog posts/articles fervently. +Here you'll find a collection of all the post I'm aware of in the last few weeks. + +## Percona + +The kind folks over at Percona have been on an absolutely legendary streak of posting about Valkey. +They've done a series on data types ([Hashes](https://www.percona.com/blog/valkey-redis-the-hash-datatype/), [Sorted Sets](https://www.percona.com/blog/valkey-redis-sets-and-sorted-sets/)), [best](https://www.percona.com/blog/valkey-redis-configuration-best-practices/) and [not-so-good practices](https://www.percona.com/blog/valkey-redis-not-so-good-practices/), [getting started](https://www.percona.com/blog/hello-valkey-lets-get-started/), [replication/failover](https://www.percona.com/blog/valkey-redis-replication-and-auto-failover-with-sentinel-service/), [configurations/persistence](https://www.percona.com/blog/valkey-redis-configurations-and-persistent-setting-of-the-key-parameters/), and finally their own [Valkey packages for DEB and RPM-based distros](https://www.percona.com/blog/hello-valkey-lets-get-started/). + +## Fedora Magazine + +Yours truly wrote an article for [Fedora Magazine about using the `valkey-compat-redis` package to move to Valkey](https://fedoramagazine.org/how-to-move-from-redis-to-valkey/). + +## Community.aws + +Ricardo Ferreira put together a [walkthrough of using Valkey with Go on Docker](https://community.aws/content/2fdr6Vg8BiJS8jr8xsuQRRc0MD5/getting-started-with-valkey-using-docker-and-go). + +## The New Stack + +While Open Source Summit North America was last month, [The New Stack published a blog post about Valkey](https://thenewstack.io/valkey-a-redis-fork-with-a-future/) and accompany interview with project leaders, it's worth a watch and read. + +## Presentation: Digging into Valkey + +On the subject of Open Source Summit, the talk I gave along side Madelyn Olson, ["Digging into Valkey" was posted as a video](https://youtu.be/3G6QgwIl-xs). + +## Valkey Seattle IRL + +The [Seattle Valkey Meetup](https://www.meetup.com/seattle-valkey/) is holding a [Rust module workshop on June 5th](https://www.meetup.com/seattle-valkey/events/301177195/). +A lot of folks will be in town for the Contributor Summit, so this meet up is bound to be flush with Valkey experts. +Don't miss it. + +## Want to add your tutorial/article/meetup/video to a future roundup? + +This is the first in a series of roundups on Valkey content. +The plan is to keep an [draft pull request open on the website GitHub repo](https://github.com/valkey-io/valkey-io.github.io/issues?q=is%3Adraft+label%3Aroundup-post+) where you can contribute your own content. diff --git a/content/download/releases/v7-2-5.md b/content/download/releases/v7-2-5.md index 3468019..8e52d26 100644 --- a/content/download/releases/v7-2-5.md +++ b/content/download/releases/v7-2-5.md @@ -33,3 +33,5 @@ extra: - arm64 - x86_64 --- + +Valkey 7.2.5 Release diff --git a/templates/blog-page.html b/templates/blog-page.html index 844b40a..f557a68 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -4,9 +4,9 @@

{{ page.title }}

{{ page.date | date(format="%Y-%m-%d") }} - {% if page.extra and page.extra.authors %} + {% if page.authors %} · - {% for author in page.extra.authors %} + {% for author in page.authors %} {% set author_path = "authors/" ~ author ~ ".md" %} {% set author_page = get_page(path=author_path) %} {{ author_page.title }}{% if loop.last != true %},{% endif %} @@ -28,8 +28,8 @@

{{ page.title }}

{% endblock main_content %} {% block related_content %} -{% if page.extra and page.extra.authors %} - {% for author in page.extra.authors %} +{% if page.authors %} + {% for author in page.authors %} {% set author_path = "authors/" ~ author ~ ".md" %} {% set author_page = get_page(path=author_path) %} {% include "includes/author_panel.html" %} diff --git a/templates/includes/head.html b/templates/includes/head.html index 7481349..3a5667d 100644 --- a/templates/includes/head.html +++ b/templates/includes/head.html @@ -36,6 +36,7 @@ +