File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Docs Deployment
2+
3+ env :
4+ APP_LOCATION : ' '
5+ OUTPUT_LOCATION : ' packages/website/build'
6+
7+ on :
8+ push :
9+ branches :
10+ - main
11+
12+ permissions :
13+ issues : write
14+ contents : read
15+ pull-requests : write
16+
17+ jobs :
18+ build_and_deploy :
19+ if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
20+ runs-on : ubuntu-latest
21+ name : Build and Deploy
22+ steps :
23+ - uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
24+ with :
25+ submodules : true
26+
27+ - name : Deploy
28+ uses : Azure/static-web-apps-deploy@4d27395796ac319302594769cfe812bd207490b1
29+ with :
30+ azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
31+ repo_token : ${{ secrets.GITHUB_TOKEN }}
32+ output_location : ${{ env.OUTPUT_LOCATION }}
33+ app_location : ${{ env.APP_LOCATION }}
34+ app_build_command : ' pnpm website build'
35+ action : ' upload'
36+ skip_api_build : true
37+ env :
38+ CUSTOM_BUILD_COMMAND : corepack enable && corepack prepare pnpm@10.9.0 --activate && pnpm install --frozen-lockfile && pnpm ui build && pnpm website build
39+ ENABLE_NODE_MONOREPO_BUILD : true
40+ NODE_VERSION : 22
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const config = {
2222 url : 'https://synergycodes.github.io' ,
2323 // Set the /<baseUrl>/ pathname under which your site is served
2424 // For GitHub pages deployment, it is often '/<projectName>/'
25- baseUrl : '/axiom ' ,
25+ baseUrl : '/' ,
2626
2727 organizationName : 'Synergy Codes' ,
2828 projectName : 'axiom' ,
You can’t perform that action at this time.
0 commit comments