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
- Go to Settings → Integrations
 - Click “Connect GitHub”
 - Authorize Irresistible
 - Select repositories to access
 
2. Link Repository
- Open your project
 - Go to Project Settings
 - Click “Connect GitHub Repository”
 - 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