Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"targets": {
"applied-abbey-378009": {
"rayon-gcp-starter": {
"hosting": {
"prod": [
"rayon-react-starter"
"rayon-gcp-starter"
]
}
},
"physikomatics-be": {
"rayon-gcp-starter": {
"hosting": {
"dev": [
"rayon-react-starter-dev"
"rayon-gcp-starter"
]
}
}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/firebase-hosting-merge-dev.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Deploy to Firebase Hosting on merge (dev)
name: Deploy to Firebase Hosting - Dev
"on":
push:
branches:
- dev
workflow_dispatch:

jobs:
build_and_deploy:
permissions: write-all
Expand All @@ -28,7 +30,7 @@ jobs:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEV }}"
firebaseServiceAccount: "${{ secrets.SECRETJSON_DEV }}"
channelId: live
projectId: physikomatics-be
projectId: rayon-gcp-starter
target: dev
8 changes: 5 additions & 3 deletions .github/workflows/firebase-hosting-merge-main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Deploy to Firebase Hosting on merge (main)
name: Deploy to Firebase Hosting - Prod
"on":
push:
branches:
- main
workflow_dispatch:

jobs:
build_and_deploy:
permissions: write-all
Expand All @@ -28,7 +30,7 @@ jobs:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PROD }}"
firebaseServiceAccount: "${{ secrets.SECRETJSON_PROD }}"
channelId: live
projectId: applied-abbey-378009
projectId: rayon-gcp-starter
target: prod
19 changes: 19 additions & 0 deletions .github/workflows/firebase-hosting-pull-request-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Preview deploy to Firebase Hosting on PR (dev)
on:
pull_request:
branches:
- dev

jobs:
build_and_preview:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile && npm run build:dev
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.SECRETJSON_DEV }}"
projectId: rayon-gcp-starter
target: dev
19 changes: 19 additions & 0 deletions .github/workflows/firebase-hosting-pull-request-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Preview deploy to Firebase Hosting on PR (main)
on:
pull_request:
branches:
- main

jobs:
build_and_preview:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile && npm run build:prod
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.SECRETJSON_PROD }}"
projectId: rayon-gcp-starter
target: prod
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Rayon React Starter is an opinionated starter kit designed to scaffold React projects quickly with a comprehensive and well-structured environment. Built with a modern tech stack and batteries included, it helps you start building your project in no time.

[Live Demo](https://rayon-react-starter.web.app/)
[Live Demo](https://fe.starters.rayonstudios.com/)

## Tech Stack

Expand Down Expand Up @@ -44,7 +44,7 @@ Ensure you have the following installed:
1. Clone the repository:
```bash
git clone https://github.com/rayonstudios/rayon_react_starter
cd rayon-react-starter
cd rayon-gcp-starter
```
2. Install dependencies:
```bash
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "rayon_react_starter",
"private": true,
"version": "0.0.3",
"version": "1.4",
"description": "Rayon React Starter is an opinionated starter kit designed to scaffold React projects quickly with a comprehensive and well-structured environment. Built with a modern tech stack and batteries included, it helps you start building your project in no time.",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Loading