Skip to content

Commit

Permalink
Merge pull request #80 from stockholmux/zola-deployment
Browse files Browse the repository at this point in the history
Deployment GitHub action for zola version
  • Loading branch information
stockholmux authored Jun 11, 2024
2 parents b5c2293 + 591683b commit 2304833
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/zola-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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

0 comments on commit 2304833

Please sign in to comment.