Skip to content

Commit

Permalink
Merge pull request #88 from valkey-io/main
Browse files Browse the repository at this point in the history
Move to Prod: Restore blog post and add Atom feed
  • Loading branch information
stockholmux authored Jun 19, 2024
2 parents 5333aec + f7dc0d2 commit 8916564
Show file tree
Hide file tree
Showing 10 changed files with 91 additions and 17 deletions.
36 changes: 26 additions & 10 deletions .github/workflows/zola-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ content/commands/*
!content/commands/_index.md
content/docs/topics/*
!content/docs/topics/_index.md
_site
2 changes: 2 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ compile_sass = true

build_search_index = true

generate_feed = true

[markdown]
highlight_code = true

Expand Down
4 changes: 3 additions & 1 deletion content/blog/2024-04-12-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
+++

Expand Down
3 changes: 2 additions & 1 deletion content/blog/2024-04-16-valkey-7-2-5-out.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
+++

Expand Down
4 changes: 3 additions & 1 deletion content/blog/2024-04-26-modules-101.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
+++

Expand Down
47 changes: 47 additions & 0 deletions content/blog/2024-05-24-may-roundup.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions content/download/releases/v7-2-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ extra:
- arm64
- x86_64
---

Valkey 7.2.5 Release
8 changes: 4 additions & 4 deletions templates/blog-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<h1>{{ page.title }}</h1>
<div class="meta">
{{ page.date | date(format="%Y-%m-%d") }}
{% if page.extra and page.extra.authors %}
{% if page.authors %}
&middot;
{% 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) %}
<em>{{ author_page.title }}</em>{% if loop.last != true %},{% endif %}
Expand All @@ -28,8 +28,8 @@ <h1>{{ page.title }}</h1>

{% 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" %}
Expand Down
1 change: 1 addition & 0 deletions templates/includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
</title>

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


<!-- Google tag (gtag.js)
Expand Down

0 comments on commit 8916564

Please sign in to comment.