Closed tranjamin closed 11 months ago
Need to update packages
Reopened after commit
Visit the preview URL for this PR (updated for commit 2398248):
https://uqrl-website--pr1-setup-x98o1yxo.web.app
(expires Fri, 15 Dec 2023 01:41:22 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 16e39f8ce73fee604bcf6fabd631b1e64d8926fb
closing to merge with develop
Sets up the following features:
Firestore Init Output: ? Which Firebase features do you want to set up for this directory? Press Space to select features, then
Enter to confirm your choices. Firestore: Configure security rules and indexes files for Firestore, Functions: Configure a Cloud Functions directory and its files, Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys, Hosting: Set up GitHub Action deploys, Storage: Configure a
security rules file for Cloud Storage, Emulators: Set up local emulators for Firebase products, Remote
Config: Configure a template file for Remote Config, Extensions: Set up an empty Extensions manifest
=== Account Setup
Which account do you want to use for this project? Choose an account or add a new one now
? Please select an option: uqrealitylabs@gmail.com
=== Project Setup
First, let's associate this project directory with a Firebase project. You can create multiple project aliases by running firebase use --add, but for now we'll just set up a default project.
i Using project uqrl-website (uqrl-website)
=== Firestore Setup
Firestore Security Rules allow you to define how and when to allow requests. You can keep these rules in your project directory and publish them with firebase deploy.
? What file should be used for Firestore Rules? firestore.rules ? File firestore.rules already exists. Do you want to overwrite it with the Firestore Rules from the Firebase Console? Yes
Firestore indexes allow you to perform complex queries while maintaining performance that scales with the size of the result set. You can keep index definitions in your project directory and publish them with firebase deploy.
? What file should be used for Firestore indexes? firestore.indexes.json ? File firestore.indexes.json already exists. Do you want to overwrite it with the Firestore Indexes from the Firebase Console? Yes
=== Functions Setup Let's create a new codebase for your functions. A directory corresponding to the codebase will be created in your project with sample code pre-configured.
See https://firebase.google.com/docs/functions/organize-functions for more information on organizing your functions using codebases.
Functions can be deployed with firebase deploy.
? What language would you like to use to write Cloud Functions? JavaScript ? Do you want to use ESLint to catch probable bugs and enforce style? Yes ? File functions/package.json already exists. Overwrite? Yes
=== Hosting Setup
Your public directory is the folder (relative to your project directory) that will contain Hosting assets to be uploaded with firebase deploy. If you have a build process for your assets, use your build's output directory.
? What do you want to use as your public directory? public ? Configure as a single-page app (rewrite all urls to /index.html)? No ? Set up automatic builds and deploys with GitHub? Yes ? File public/404.html already exists. Overwrite? Yes
i Detected a .git folder at C:\Users\benja\Documents\GitHub\uqrealitylabs.github.io i Authorizing with GitHub to upload your service account to a GitHub repository's secrets store.
Visit this URL on this device to log in: https://github.com/login/oauth/authorize?client_id=89cf50f02ac6aaed3484&state=174905212&redirect_uri=http%3A%2F%2Flocalhost%3A9005&scope=read%3Auser%20repo%20public_repo
Waiting for authentication...
? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository) uqrealitylabs/uqrealitylabs.github.io
? Set up the workflow to run a build script before every deploy? Yes ? What script should be run before every deploy? (npm ci && npm run build) ? What script should be run before every deploy? npm ci && npm run build ? GitHub workflow file for PR previews exists. Overwrite? firebase-hosting-pull-request.yml Yes
Created workflow file C:\Users\benja\Documents\GitHub\uqrealitylabs.github.io.github/workflows/firebase-hosting-pull-request.yml ? Set up automatic deployment to your site's live channel when a PR is merged? Yes ? What is the name of the GitHub branch associated with your site's live channel? main ? The GitHub workflow file for deploying to the live channel already exists. Overwrite? firebase-hosting-merge.yml Yes
Created workflow file C:\Users\benja\Documents\GitHub\uqrealitylabs.github.io.github/workflows/firebase-hosting-merge.yml
i Action required: Visit this URL to revoke authorization for the Firebase CLI GitHub OAuth App: https://github.com/settings/connections/applications/89cf50f02ac6aaed3484 i Action required: Push any new workflow file(s) to your repo
=== Storage Setup
Firebase Storage Security Rules allow you to define how and when to allow uploads and downloads. You can keep these rules in your project directory and publish them with firebase deploy.
? What file should be used for Storage Rules? storage.rules ? File storage.rules already exists. Overwrite? Yes
=== Emulators Setup ? Which Firebase emulators do you want to set up? Press Space to select emulators, then Enter to confirm your choices. Functions Emulator, Firestore Emulator, Database Emulator, Hosting Emulator, Pub/Sub Emulator,
Storage Emulator ? Which port do you want to use for the functions emulator? 5001 ? Which port do you want to use for the firestore emulator? 8080 ? Which port do you want to use for the database emulator? 9000 ? Which port do you want to use for the hosting emulator? 5000 ? Which port do you want to use for the pubsub emulator? 8085 ? Which port do you want to use for the storage emulator? 9199 ? Would you like to enable the Emulator UI? Yes ? Which port do you want to use for the Emulator UI (leave empty to use any available port)? ? Would you like to download the emulators now? Yes i database: downloading firebase-database-emulator-v4.11.2.jar... Progress: ==================================================================================> (100% of 35MB)
=== Remoteconfig Setup ? What file should be used for your Remote Config template? remoteconfig.template.json ? File remoteconfig.template.json already exists. Do you want to overwrite the existing Remote Config
template? Yes
=== Extensions Setup
i Writing configuration info to firebase.json... i Writing project information to .firebaserc...