Rejig github firebase hosting actions

This commit is contained in:
Fergal Moran
2023-03-06 07:30:40 +00:00
parent 233d4b6750
commit c2b3fd0b10
4 changed files with 9 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- run: 'y'
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- run: 'y'
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'

View File

@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<attachedFolders>
<Path>../.github</Path>
</attachedFolders>
<explicitIncludes />
<explicitExcludes />
</component>

View File

@@ -4,17 +4,14 @@
"indexes": "firestore.indexes.json"
},
"hosting": {
"public": "public",
"source": ".",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
"frameworksBackend": {
"region": "europe-west1"
}
}
}