CI/CD Recipes
Deploy previews from your existing CI/CD workflows using the PreviewProof CLI.
GitHub Actions
Section titled “GitHub Actions”name: Deploy Previewon: pull_request: types: [opened, synchronize]
jobs: preview: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Deploy preview run: | npx previewproof deploy env: PREVIEWPROOF_TOKEN: ${{ secrets.PREVIEWPROOF_TOKEN }}More CI/CD recipes coming soon — GitLab CI, Bitbucket Pipelines, and others.