thepopebot 1.2.22 → 1.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thepopebot",
3
- "version": "1.2.22",
3
+ "version": "1.2.24",
4
4
  "type": "module",
5
5
  "description": "Create autonomous AI agents with a two-layer architecture: Next.js Event Handler + Docker Agent.",
6
6
  "bin": {
@@ -15,7 +15,8 @@ jobs:
15
15
  - name: Deploy event handler
16
16
  run: |
17
17
  docker exec thepopebot-event-handler bash -c '
18
- # Authenticate git via GitHub CLI
18
+ # Load GH_TOKEN and authenticate git via GitHub CLI
19
+ export GH_TOKEN=$(grep "^GH_TOKEN=" /app/.env | cut -d= -f2-)
19
20
  echo "${GH_TOKEN}" | gh auth login --with-token
20
21
  gh auth setup-git
21
22
 
@@ -14,7 +14,7 @@ COPY package.json package-lock.json* ./
14
14
  RUN npm install --omit=dev && \
15
15
  npm install --no-save thepopebot@$(node -p "require('./package.json').version")
16
16
 
17
- COPY /templates/docker/event-handler/ecosystem.config.cjs ./
17
+ COPY /templates/docker/event-handler/ecosystem.config.cjs /opt/ecosystem.config.cjs
18
18
 
19
19
  EXPOSE 80
20
- CMD ["pm2-runtime", "ecosystem.config.cjs"]
20
+ CMD ["pm2-runtime", "/opt/ecosystem.config.cjs"]