Skip to content

documentation-update-event #1462

documentation-update-event

documentation-update-event #1462

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@v3
- 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@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
cname: debezium.io