Skip to content

Commit fb65f9c

Browse files
authored
Merge pull request #15 from rayonstudios/dev
dev 2 main
2 parents f8c2b45 + 9c2b147 commit fb65f9c

77 files changed

Lines changed: 4366 additions & 339 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.development

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
VITE_API_BASE_URL=http://localhost:8000/dev/api
2-
VITE_ENV=dev
1+
VITE_API_BASE_URL=https://be.starters.rayonstudios.com/api/v1
2+
VITE_ENV=dev
3+
VITE_HCAPTCHA_SITE_KEY=cd86c190-7a30-4042-9468-018cd91ef63c

.env.production

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
VITE_API_BASE_URL=http://localhost:8000/api
2-
VITE_ENV=production
1+
VITE_API_BASE_URL=https://be.starters.rayonstudios.com/api
2+
VITE_ENV=production
3+
VITE_HCAPTCHA_SITE_KEY=cd86c190-7a30-4042-9468-018cd91ef63c

.eslintrc.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ module.exports = {
1515
"warn",
1616
{ allowConstantExport: true },
1717
],
18+
"@typescript-eslint/no-explicit-any": "off",
19+
"@typescript-eslint/ban-types": "off",
20+
"@typescript-eslint/ban-ts-comment": "off",
21+
"no-useless-escape": "off",
22+
"no-empty": "off",
1823
},
1924
};

.firebaserc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"targets": {
3-
"applied-abbey-378009": {
3+
"rayon-gcp-starter": {
44
"hosting": {
55
"prod": [
6-
"rayon-react-starter"
6+
"rayon-gcp-starter"
77
]
88
}
99
},
10-
"physikomatics-be": {
10+
"rayon-gcp-starter": {
1111
"hosting": {
1212
"dev": [
13-
"rayon-react-starter-dev"
13+
"rayon-gcp-starter"
1414
]
1515
}
1616
}

.github/workflows/dev-deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to Firebase Hosting - Dev
2+
"on":
3+
push:
4+
branches:
5+
- dev
6+
workflow_dispatch:
7+
8+
jobs:
9+
build_and_deploy:
10+
permissions: write-all
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- run: yarn install --frozen-lockfile && npm run build:dev
16+
env:
17+
CI: false
18+
19+
- uses: FirebaseExtended/action-hosting-deploy@v0
20+
with:
21+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
22+
firebaseServiceAccount: "${{ secrets.SECRETJSON_DEV }}"
23+
channelId: live
24+
projectId: rayon-gcp-starter
25+
target: dev

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

Lines changed: 0 additions & 34 deletions
This file was deleted.

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

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Preview deploy to Firebase Hosting on PR (dev)
2+
on:
3+
pull_request:
4+
branches:
5+
- dev
6+
7+
jobs:
8+
build_and_preview:
9+
permissions: write-all
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- run: yarn install --frozen-lockfile && npm run build:dev
15+
env:
16+
CI: false
17+
18+
- uses: FirebaseExtended/action-hosting-deploy@v0
19+
with:
20+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
21+
firebaseServiceAccount: "${{ secrets.SECRETJSON_DEV }}"
22+
projectId: rayon-gcp-starter
23+
target: dev
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Preview deploy to Firebase Hosting on PR (main)
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build_and_preview:
9+
permissions: write-all
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- run: yarn install --frozen-lockfile && npm run build:prod
15+
env:
16+
CI: false
17+
18+
- uses: FirebaseExtended/action-hosting-deploy@v0
19+
with:
20+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
21+
firebaseServiceAccount: "${{ secrets.SECRETJSON_PROD }}"
22+
projectId: rayon-gcp-starter
23+
target: prod

.github/workflows/prod-deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to Firebase Hosting - Prod
2+
"on":
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
8+
jobs:
9+
build_and_deploy:
10+
permissions: write-all
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- run: yarn install --frozen-lockfile && npm run build:dev
16+
env:
17+
CI: false
18+
19+
- uses: FirebaseExtended/action-hosting-deploy@v0
20+
with:
21+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
22+
firebaseServiceAccount: "${{ secrets.SECRETJSON_PROD }}"
23+
channelId: live
24+
projectId: rayon-gcp-starter
25+
target: prod

0 commit comments

Comments
 (0)