[~] Rewrote CI workflows

This commit is contained in:
Charles Le Maux 2024-08-05 18:46:18 +02:00
parent 01ba3fa200
commit 8d9fceb972
4 changed files with 14 additions and 11 deletions

View File

@ -11,10 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- run: npm ci
- run: build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SERVI_E6705 }}
channelId: live
projectId: servi-e6705
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks

View File

@ -13,9 +13,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- run: npm ci
- run: build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SERVI_E6705 }}
projectId: servi-e6705
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks

View File

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

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "servii-front",
"version": "0.0.0",
"version": "1.9.45",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "servii-front",
"version": "0.0.0",
"version": "1.9.45",
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.2",