Skip to content

Commit 8916564

Browse files
authored
Merge pull request #88 from valkey-io/main
Move to Prod: Restore blog post and add Atom feed
2 parents 5333aec + f7dc0d2 commit 8916564

File tree

10 files changed

+91
-17
lines changed

10 files changed

+91
-17
lines changed

.github/workflows/zola-deploy.yml

+26-10
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@ name: Zola on GitHub Pages
22

33
on:
44
push:
5-
branches:
6-
- prod_zola
5+
branches: ["prod_zola"]
76

7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
814
jobs:
9-
build_and_deploy:
15+
build:
1016
runs-on: ubuntu-latest
1117
steps:
1218
- name: Checkout prod
@@ -32,13 +38,23 @@ jobs:
3238
cd website
3339
./build/init-topics.sh ../valkey-doc/topics
3440
./build/init-commands.sh ../valkey-doc/commands ../valkey/src/commands
35-
36-
# - name: Build and deploy
37-
# uses: shalzz/[email protected]
38-
# env:
39-
# PAGES_BRANCH: gh-pages
40-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
- name: Build only
4242
uses: shalzz/[email protected]
4343
env:
44-
BUILD_ONLY: true
44+
BUILD_DIR: website
45+
BUILD_ONLY: true
46+
BUILD_THEMES: false
47+
- name: Upload artifact
48+
uses: actions/upload-pages-artifact@v3
49+
with:
50+
path: ./website/public
51+
deploy:
52+
environment:
53+
name: github-pages
54+
url: ${{ steps.deployment.outputs.page_url }}
55+
runs-on: ubuntu-latest
56+
needs: build
57+
steps:
58+
- name: Deploy to GitHub Pages
59+
id: deployment
60+
uses: actions/deploy-pages@v4

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ content/commands/*
77
!content/commands/_index.md
88
content/docs/topics/*
99
!content/docs/topics/_index.md
10+
_site

config.toml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ compile_sass = true
44

55
build_search_index = true
66

7+
generate_feed = true
8+
79
[markdown]
810
highlight_code = true
911

content/blog/2024-04-12-hello-world.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ aliases = [
55
"/blog/update/2024/04/hello-world/"
66
]
77
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."
8-
[extra]
98
authors= ["kyledvs"]
9+
10+
[extra]
11+
1012
categories= "update"
1113
+++
1214

content/blog/2024-04-16-valkey-7-2-5-out.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ aliases= [
55
"/blog/modules/2024/05/modules-101/"
66
]
77
description= "Exciting times!I'm pleased to announce that you can start using the first generally available, stable Valkey release today."
8+
authors= ["kyledvs"]
89

910
[extra]
10-
authors= ["kyledvs"]
11+
1112
categories= "update"
1213
+++
1314

content/blog/2024-04-26-modules-101.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ aliases= [
55
"/blog/update/2024/04/valkey-7-2-5-out/"
66
]
77
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."
8-
[extra]
98
authors= ["dmitrypol"]
9+
10+
[extra]
11+
1012
categories= "modules"
1113
+++
1214

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
+++
2+
title= "What's new in Valkey for May 2024"
3+
date= 2024-05-24 01:01:01
4+
aliases= [
5+
"/blog/modules/2024/05/may-roundup/"
6+
]
7+
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."
8+
authors= ["kyledvs"]
9+
10+
[extra]
11+
categories= "update"
12+
+++
13+
14+
It's become clear that people want to talk about Valkey and have been publishing blog posts/articles fervently.
15+
Here you'll find a collection of all the post I'm aware of in the last few weeks.
16+
17+
## Percona
18+
19+
The kind folks over at Percona have been on an absolutely legendary streak of posting about Valkey.
20+
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/).
21+
22+
## Fedora Magazine
23+
24+
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/).
25+
26+
## Community.aws
27+
28+
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).
29+
30+
## The New Stack
31+
32+
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.
33+
34+
## Presentation: Digging into Valkey
35+
36+
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).
37+
38+
## Valkey Seattle IRL
39+
40+
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/).
41+
A lot of folks will be in town for the Contributor Summit, so this meet up is bound to be flush with Valkey experts.
42+
Don't miss it.
43+
44+
## Want to add your tutorial/article/meetup/video to a future roundup?
45+
46+
This is the first in a series of roundups on Valkey content.
47+
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.

content/download/releases/v7-2-5.md

+2
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ extra:
3333
- arm64
3434
- x86_64
3535
---
36+
37+
Valkey 7.2.5 Release

templates/blog-page.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<h1>{{ page.title }}</h1>
55
<div class="meta">
66
{{ page.date | date(format="%Y-%m-%d") }}
7-
{% if page.extra and page.extra.authors %}
7+
{% if page.authors %}
88
&middot;
9-
{% for author in page.extra.authors %}
9+
{% for author in page.authors %}
1010
{% set author_path = "authors/" ~ author ~ ".md" %}
1111
{% set author_page = get_page(path=author_path) %}
1212
<em>{{ author_page.title }}</em>{% if loop.last != true %},{% endif %}
@@ -28,8 +28,8 @@ <h1>{{ page.title }}</h1>
2828

2929
{% endblock main_content %}
3030
{% block related_content %}
31-
{% if page.extra and page.extra.authors %}
32-
{% for author in page.extra.authors %}
31+
{% if page.authors %}
32+
{% for author in page.authors %}
3333
{% set author_path = "authors/" ~ author ~ ".md" %}
3434
{% set author_page = get_page(path=author_path) %}
3535
{% include "includes/author_panel.html" %}

templates/includes/head.html

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
</title>
3737

3838
<link rel="stylesheet" href="/css/styles.css">
39+
<link rel="alternate" type="application/atom+xml" title="Atom feed" href="{{ get_url(path="atom.xml", trailing_slash=false) }}" />
3940

4041

4142
<!-- Google tag (gtag.js)

0 commit comments

Comments
 (0)