Skip to content

Commit b693f43

Browse files
committed
deploy to github pages
1 parent a6d2dc9 commit b693f43

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/static.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,21 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34+
- name: Setup Node
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: 20
38+
cache: npm
39+
- name: Install dependencies
40+
run: npm ci
41+
- name: Build
42+
run: npm run build -- --configuration production --base-href /devtools/
3443
- name: Setup Pages
3544
uses: actions/configure-pages@v5
3645
- name: Upload artifact
3746
uses: actions/upload-pages-artifact@v3
3847
with:
39-
# Upload entire repository
40-
path: './src'
48+
path: ./dist/devtools
4149
- name: Deploy to GitHub Pages
4250
id: deployment
4351
uses: actions/deploy-pages@v4

angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"build": {
1818
"builder": "@angular/build:application",
1919
"options": {
20+
"outputPath": "dist/devtools",
2021
"browser": "src/main.ts",
2122
"tsConfig": "tsconfig.app.json",
2223
"webWorkerTsConfig": "tsconfig.worker.json",

0 commit comments

Comments
 (0)