Self-hosted site preview service.
🏢 Self-hosted.
👌 Easy to set-up.
🚀 Blazing fast deploy.
🔗 Integrates into your existing CI pipeline.
With docker-compose:
version: '3.7'services:
hostlify:
image: ghcr.io/ethworks/hostlify:latestports:
- 80:80Or with docker CLI:
docker start --name hostlify -p 80:80 ghcr.io/ethworks/hostlify:latestAdd the github action to your CI pipeline:
- name: Build web apprun: yarn build# Insert this after your build step
- uses: ethworks/hostlify-publish@v3.7with:
files: ./build # Directory with the build output server-url: your.preview.server.org # Url to the deployed hosting backendowner: your-org # Owner of your organization/account on github.repo: your-repo # Name of your repo.access-token: ${{ secrets.GITHUB_TOKEN }}Building multi-arch docker image:
docker buildx build --platform=linux/amd64,linux/arm64 -t ghcr.io/ethworks/hostlify --push .