GitLab Integration
Connect your projects with GitLab for enterprise version control.
Features
- Full GitLab support: GitLab.com and self-hosted
 - CI/CD integration: Use GitLab pipelines
 - Merge request previews: Preview changes before merging
 - Protected branches: Enforce deployment rules
 
Setup
1. Create GitLab Application
- Go to GitLab → Settings → Applications
 - Add redirect URI: 
https://irresistible.dev/auth/gitlab/callback - Select scopes: 
api,read_repository,write_repository - Save Client ID and Secret
 
2. Configure Integration
- Go to Irresistible Settings → Integrations
 - Add GitLab credentials
 - Test connection
 
3. Link Repository
Select your GitLab repository to sync with your project.
GitLab CI/CD
Add to .gitlab-ci.yml:
deploy:
  stage: deploy
  script:
    - curl -X POST https://api.irresistible.dev/deploy
  only:
    - main