Skip to content

Commit 4b039c1

Browse files
files for firebase with github actions
1 parent 039d3f6 commit 4b039c1

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed

.firebaserc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "vue-techs-logos"
4+
}
5+
}

.github/workflows/firebase-hosting-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- run: npm ci && npm run build
14+
- run: cd docs && npm ci && npm run build
1515
- uses: FirebaseExtended/action-hosting-deploy@v0
1616
with:
1717
repoToken: '${{ secrets.GITHUB_TOKEN }}'

docs/.firebase/hosting.ZGlzdA.cache

-5
This file was deleted.

firebase.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"hosting": {
3+
"public": "docs/dist",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*",
7+
"**/node_modules/**"
8+
],
9+
"rewrites": [
10+
{
11+
"source": "**",
12+
"destination": "/index.html"
13+
}
14+
]
15+
}
16+
}

0 commit comments

Comments
 (0)