Skip to content

Commit e259f64

Browse files
committed
build: fix docs deployment directory
The `material-angular-io` project name is no longer part of the `dist` directory, so we need to remove it.
1 parent f4b7afe commit e259f64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/docs-preview-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
github-token: '${{secrets.GITHUB_TOKEN}}'
4646
workflow-artifact-name: 'docs-preview'
4747
firebase-config-dir: './docs'
48-
firebase-public-dir: './docs/dist/material-angular-io.production'
48+
firebase-public-dir: './docs/dist'
4949
firebase-project-id: '${{env.PREVIEW_PROJECT}}'
5050
firebase-service-key: '${{secrets.FIREBASE_PREVIEW_SERVICE_TOKEN}}'

docs/firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://raw.githubusercontent.com/firebase/firebase-tools/master/schema/firebase-config.json",
33
"hosting": {
44
"target": "mat-aio",
5-
"public": "./dist/material-angular-io.production",
5+
"public": "./dist",
66
"cleanUrls": true,
77
"rewrites": [
88
{

0 commit comments

Comments
 (0)