This is a starter kit to visually edit a GitHub Pages static site using Webstudio in Docker.
- Dockerized Webstudio editor
- GitHub Pages integration
- GitHub Actions for CI/CD
- Custom
nginx.conf
for production
docker build --build-arg GIT_REPO=https://github.com/GovernCRM/website.git -t webstudio-editor .
docker run -p 5173:5173 \
-e AUTH_SECRET=supersecret123 \
-e DEFAULT_DEV_EMAIL=admin@webstudio.dev \
webstudio-editor
Open http://localhost:5173 to edit your GitHub Pages content.
Commit and push your changes back to GitHub:
git add .
git commit -m "Edited with Webstudio"
git push origin main
On each push to main
, the site will be rebuilt and deployed to GitHub Pages using the included workflow.
GITHUB_TOKEN
– auto-included by GitHub Actions- Optional:
DOCKER_USERNAME
/DOCKER_PASSWORD
if publishing to Docker Hub
MIT License • by Open Build