Skip to content

Commit 1cf5a6e

Browse files
committed
chore: update weekly changelog workflow and repo housekeeping
1 parent 3d9cbee commit 1cf5a6e

3 files changed

Lines changed: 70 additions & 24 deletions

File tree

.aiignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/weekly-changelog.yml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,17 @@ jobs:
9696
9797
echo "Updated: $FILE"
9898
99-
- name: Open Pull Request
100-
env:
101-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102-
run: |
103-
BRANCH="changelog/week-of-$(date +%Y-%m-%d)-${{ github.run_id }}"
104-
105-
git config user.name "github-actions[bot]"
106-
git config user.email "github-actions[bot]@users.noreply.github.com"
107-
git checkout -b "$BRANCH"
108-
git add mintlify/docs/changelog/
109-
git diff --staged --quiet && echo "No changes to commit" && exit 0
110-
git commit -m "docs: weekly changelog update $(date +%Y-%m-%d)"
111-
git push origin "$BRANCH"
112-
gh pr create \
113-
--repo ${{ github.repository }} \
114-
--base main \
115-
--head "$BRANCH" \
116-
--title "docs: weekly changelog update $(date +%Y-%m-%d)" \
117-
--body "Auto-generated weekly changelog entry. Please review before merging." \
118-
--label "documentation"
99+
- name: Create Pull Request
100+
uses: peter-evans/create-pull-request@v7
101+
with:
102+
# Use a PAT if available. This bypasses repos where GITHUB_TOKEN is
103+
# restricted from creating PRs via GitHub Actions settings.
104+
token: ${{ secrets.CHANGELOG_PR_TOKEN || secrets.GITHUB_TOKEN }}
105+
branch: changelog/week-of-${{ github.run_id }}
106+
base: main
107+
commit-message: docs: weekly changelog update
108+
title: docs: weekly changelog update
109+
body: Auto-generated weekly changelog entry. Please review before merging.
110+
labels: documentation
111+
add-paths: |
112+
mintlify/docs/changelog/

render.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
services:
2+
# 1. Python AI Microservice (Private Service)
3+
- type: pserv
4+
name: urbackend-python-service
5+
env: python
6+
rootDir: apps/python-service
7+
buildCommand: pip install -r requirements.txt
8+
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT
9+
plan: starter # Uses your $50 credits safely ($7/mo)
10+
envVars:
11+
- key: INTERNAL_SECRET
12+
sync: false # Set this manually in dashboard
13+
- key: GROQ_API_KEY
14+
sync: false # Set this manually in dashboard
15+
- key: REDIS_URL
16+
sync: false # If using Redis cloud
17+
18+
# 2. Dashboard API
19+
- type: web
20+
name: urbackend-dashboard-api
21+
env: node
22+
rootDir: apps/dashboard-api
23+
buildCommand: npm install
24+
startCommand: npm start
25+
plan: starter
26+
envVars:
27+
- key: PYTHON_SERVICE_URL
28+
# This automatically links to the internal private python service
29+
value: http://urbackend-python-service:8000
30+
- key: INTERNAL_SECRET
31+
sync: false # Must match the one in Python Service
32+
- key: MONGO_URL
33+
sync: false
34+
35+
# 3. Public API
36+
- type: web
37+
name: urbackend-public-api
38+
env: node
39+
rootDir: apps/public-api
40+
buildCommand: npm install
41+
startCommand: npm start
42+
plan: starter
43+
envVars:
44+
- key: MONGO_URL
45+
sync: false
46+
47+
# 4. Web Dashboard (React)
48+
- type: web
49+
name: urbackend-web-dashboard
50+
env: static
51+
rootDir: apps/web-dashboard
52+
buildCommand: npm install && npm run build
53+
staticPublishPath: ./dist
54+
envVars:
55+
- key: VITE_API_URL
56+
value: https://urbackend-dashboard-api.onrender.com

0 commit comments

Comments
 (0)