Skip to main content Skip to navigation

Documentation

Everything you need to build irresistible applications

GitHub Integration

Connect your projects with GitHub for seamless version control.

Features

  • Two-way sync: Changes sync between Irresistible and GitHub
  • Automatic deployments: Deploy on every push
  • Pull request previews: Preview PR changes before merging
  • Issue tracking: Link commits to GitHub issues

Setup

1. Connect GitHub Account

  1. Go to Settings → Integrations
  2. Click “Connect GitHub”
  3. Authorize Irresistible
  4. Select repositories to access

2. Link Repository

  1. Open your project
  2. Go to Project Settings
  3. Click “Connect GitHub Repository”
  4. Select your repository

3. Configure Sync

Choose sync direction:

  • Push only: Push changes to GitHub
  • Pull only: Pull changes from GitHub
  • Bidirectional: Sync both ways

Deployment Triggers

Automatic Deployments

Deploy automatically on:

  • Push to main branch
  • Push to specific branches
  • Successful PR merge
  • Tag creation

Configuration

# irresistible.yml
deploy:
  branches:
    - main
    - production
  auto_deploy: true
  preview_prs: true

Pull Request Previews

Every PR gets a unique preview URL:

  • Isolated environment
  • Production-like setup
  • Automatic cleanup on merge
  • Share with reviewers

GitHub Actions

Use our GitHub Action for CI/CD:

name: Deploy to Irresistible
on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: irresistible/deploy-action@v1
        with:
          api-token: ${{ secrets.IRRESISTIBLE_TOKEN }}
          project-id: ${{ secrets.PROJECT_ID }}

Advanced Features

Branch Protection

  • Require PR reviews before deploy
  • Run tests before merging
  • Enforce code quality standards

Monorepo Support

Deploy specific paths:

deploy:
  paths:
    - apps/web
    - packages/ui

Custom Workflows

  • Pre-deploy hooks
  • Post-deploy notifications
  • Custom build commands