fix(pages): deploy the build from main with the repository base path

- trigger on main (the default branch) instead of the non-existent dev
- VITE_BASE_PATH /OpenCodeUI/ -> /PiAgentUI/, matching the repository name
- enable Pages automatically on the first run
This commit is contained in:
Evandro Fonseca Junior committed 2026-09-14 08:51:23 -03:00
1 parent b3489e1ede
commit d5b4362ed7
2 files changed
+7 -3

No files matched your search

+7 -2
View File
@@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
on:
push:
branches: [dev]
branches: [main]
workflow_dispatch:
permissions:
@@ -29,7 +29,12 @@ jobs:
- run: npm run build
env:
VITE_BASE_PATH: /OpenCodeUI/
VITE_BASE_PATH: /PiAgentUI/
- name: Setup Pages
uses: actions/configure-pages@v5
with:
enablement: true
- uses: actions/upload-pages-artifact@v5
with: