mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-17 21:40:30 +00:00
[~] Rewrote CI workflows
This commit is contained in:
parent
01ba3fa200
commit
8d9fceb972
5
.github/workflows/firebase-hosting-merge.yml
vendored
5
.github/workflows/firebase-hosting-merge.yml
vendored
@ -11,10 +11,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: npm ci && npm run build
|
- run: npm ci
|
||||||
|
- run: build
|
||||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||||
with:
|
with:
|
||||||
repoToken: ${{ secrets.GITHUB_TOKEN }}
|
repoToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SERVI_E6705 }}
|
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SERVI_E6705 }}
|
||||||
channelId: live
|
channelId: live
|
||||||
projectId: servi-e6705
|
projectId: servi-e6705
|
||||||
|
env:
|
||||||
|
FIREBASE_CLI_EXPERIMENTS: webframeworks
|
||||||
|
@ -13,9 +13,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: npm ci && npm run build
|
- run: npm ci
|
||||||
|
- run: build
|
||||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||||
with:
|
with:
|
||||||
repoToken: ${{ secrets.GITHUB_TOKEN }}
|
repoToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SERVI_E6705 }}
|
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SERVI_E6705 }}
|
||||||
projectId: servi-e6705
|
projectId: servi-e6705
|
||||||
|
env:
|
||||||
|
FIREBASE_CLI_EXPERIMENTS: webframeworks
|
||||||
|
@ -4,17 +4,14 @@
|
|||||||
"indexes": "firestore.indexes.json"
|
"indexes": "firestore.indexes.json"
|
||||||
},
|
},
|
||||||
"hosting": {
|
"hosting": {
|
||||||
"public": "dist",
|
"source": ".",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"firebase.json",
|
"firebase.json",
|
||||||
"**/.*",
|
"**/.*",
|
||||||
"**/node_modules/**"
|
"**/node_modules/**"
|
||||||
],
|
],
|
||||||
"rewrites": [
|
"frameworksBackend": {
|
||||||
{
|
"region": "europe-west1"
|
||||||
"source": "**",
|
|
||||||
"destination": "/index.html"
|
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "servii-front",
|
"name": "servii-front",
|
||||||
"version": "0.0.0",
|
"version": "1.9.45",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "servii-front",
|
"name": "servii-front",
|
||||||
"version": "0.0.0",
|
"version": "1.9.45",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
||||||
"@fortawesome/react-fontawesome": "^0.2.2",
|
"@fortawesome/react-fontawesome": "^0.2.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user