Skip to content

Merge pull request #80 from stockholmux/zola-deployment #1

Merge pull request #80 from stockholmux/zola-deployment

Merge pull request #80 from stockholmux/zola-deployment #1

Workflow file for this run

name: Zola on GitHub Pages
on:
push:
branches:
- prod_zola
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout prod
uses: actions/checkout@v4
with:
ref: prod_zola
path: website
- name: Checkout valkey-doc
uses: actions/checkout@v4
with:
repository: valkey-io/valkey-doc
path: valkey-doc
- name: Checkout valkey
uses: actions/checkout@v4
with:
repository: valkey-io/valkey
path: valkey
- name: Init commands and topics
run: |
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/[email protected]
# env:
# PAGES_BRANCH: gh-pages
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build only
uses: shalzz/[email protected]
env:
BUILD_ONLY: true