Skip to content

documentation-update-event #2022

documentation-update-event

documentation-update-event #2022

name: Build and deploy to GitHub Pages
on:
repository_dispatch:
types: [documentation-update-event]
push:
branches:
- develop
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker run --privileged -i --rm -p 4000:4000 -e LC_ALL=C.UTF-8 -e LANG=C.UTF-8 -v $(pwd):/site debezium/website-builder bash -c "rake clean build[production]"
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
cname: debezium.io