-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Jaspero/redesignV2
Redesign v2
- Loading branch information
Showing
908 changed files
with
63,202 additions
and
55,474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,8 @@ | |
] | ||
} | ||
} | ||
}, | ||
"projects": { | ||
"default": "genos-ec52a" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Prod | Deploy CMS | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'cms/**/*' | ||
- 'shared/**/*' | ||
env: | ||
PROJECT: genos-ec52a | ||
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }} | ||
TARGET: cms | ||
jobs: | ||
build_and_deploy: | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Use Node.js 20.9.0 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20.9.0 | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Build | ||
run: npm ci --prefix cms --legacy-peer-deps && npm run build:prod --prefix cms | ||
- name: Deploy | ||
uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: ${{ env.SERVICE_ACCOUNT }} | ||
channelId: live | ||
projectId: ${{ env.PROJECT }} | ||
target: ${{ env.TARGET }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Prod | Deploy CORS | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
project: 'genos-ec52a' | ||
bucket: 'gs://genos-ec52a.appspot.com' | ||
|
||
jobs: | ||
deploy: | ||
timeout-minutes: 5 | ||
name: Deploy | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup - gcloud | ||
uses: google-github-actions/auth@v1 | ||
with: | ||
credentials_json: '${{ secrets.SERVICE_ACCOUNT }}' | ||
|
||
- name: Set up Cloud SDK | ||
uses: 'google-github-actions/setup-gcloud@v1' | ||
|
||
- name: Deploy Rules | ||
run: gsutil cors set firebase-cors.json $BUCKET | ||
env: | ||
BUCKET: '${{ env.bucket }}' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Prod | Deploy Functions | ||
on: | ||
workflow_dispatch: | ||
env: | ||
PROJECT: genos-ec52a | ||
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }} | ||
jobs: | ||
build_and_deploy: | ||
name: Build And Deploy | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Use Node.js 20.9.0 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20.9.0 | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Install Dependencies | ||
run: npm --prefix functions ci --legacy-peer-deps | ||
- name: Build | ||
run: | | ||
npm --prefix functions run build | ||
- name: Deploy to Firebase | ||
uses: w9jds/firebase-action@master | ||
with: | ||
args: deploy --only functions | ||
env: | ||
GCP_SA_KEY: ${{ env.SERVICE_ACCOUNT }} | ||
PROJECT_ID: ${{ env.PROJECT }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Prod | Deploy Firestore Indexes | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'firestore.indexes.json' | ||
- '.github/workflows/indexes.workflow.yml' | ||
env: | ||
PROJECT: genos-ec52a | ||
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }} | ||
jobs: | ||
deploy: | ||
name: Deploy | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Deploy to Firebase | ||
uses: w9jds/firebase-action@master | ||
with: | ||
args: deploy --only firestore:indexes --force | ||
env: | ||
GCP_SA_KEY: ${{ env.SERVICE_ACCOUNT }} | ||
PROJECT_ID: ${{ env.PROJECT }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Prod | Deploy Rules | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'firestore.rules' | ||
- '.github/workflows/rules.yml' | ||
env: | ||
PROJECT: genos-ec52a | ||
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }} | ||
jobs: | ||
deploy: | ||
name: Deploy | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Deploy to Firebase | ||
uses: w9jds/firebase-action@master | ||
with: | ||
args: deploy --only firestore:rules | ||
env: | ||
GCP_SA_KEY: ${{ env.SERVICE_ACCOUNT }} | ||
PROJECT_ID: ${{ env.PROJECT }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Prod | Deploy Storage Rules | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'storage.rules' | ||
- '.github/workflows/storage.yml' | ||
env: | ||
PROJECT: genos-ec52a | ||
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }} | ||
jobs: | ||
deploy: | ||
name: Deploy | ||
runs-on: [self-hosted] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Deploy | ||
uses: w9jds/firebase-action@master | ||
with: | ||
args: deploy --only storage | ||
env: | ||
GCP_SA_KEY: ${{ env.SERVICE_ACCOUNT }} | ||
PROJECT_ID: ${{ env.PROJECT }} |
Oops, something went wrong.