feat: initialize worker for website generator with GitHub deployment functionality
- Added package.json for project dependencies and scripts. - Created redis.ts for Redis connection configuration. - Set up tsconfig.json for TypeScript compilation settings. - Implemented worker.ts to handle GitHub repository deployments using BullMQ and Octokit.
This commit is contained in:
13
.env.example
Normal file
13
.env.example
Normal file
@@ -0,0 +1,13 @@
|
||||
# ------------------------------
|
||||
# Redis Configuration
|
||||
# ------------------------------
|
||||
REDIS_URL=redis://username:your_password@HOST:PORT
|
||||
|
||||
# ------------------------------
|
||||
# GitHub Configuration
|
||||
# ------------------------------
|
||||
# Scopes required: 'repo' (to create repos and push code)
|
||||
GITHUB_TOKEN=ghp_xxxxxx
|
||||
|
||||
# The GitHub username associated with the token above
|
||||
GITHUB_USERNAME=github_username
|
||||
Reference in New Issue
Block a user