Skip to content

Commit

Permalink
feat: rename production branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Jun 2, 2024
1 parent caae653 commit 388c927
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9,762 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on commit to production
name: Deploy to Firebase Hosting on commit to main
'on':
push:
branches:
- production
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion docs/docs-main/read-data/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ The Firestore JS SDK has a [built-in feature for realtime updates](https://fireb
- You need to write a lot of code to capture the documents that comes in and save them in local cache
- You need to organize where and how to temporarily save the function you get back to stop the stream

Magnetar's Firestore Plugin uses `onSnapshot` [under the hood](https://github.com/CyCraft/magnetar/blob/production/packages/plugin-firestore/src/actions/stream.ts) but does these things for you:
Magnetar's Firestore Plugin uses `onSnapshot` [under the hood](https://github.com/CyCraft/magnetar/blob/main/packages/plugin-firestore/src/actions/stream.ts) but does these things for you:

- The syntax is super clean. It's just `.stream()`
- A stream cannot be opened twice on accident, the already open stream will be returned in case you open it again
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ layout: home
---

<img src="/media/magnetar-hero.png" />
<div style="display: flex; justify-content: space-between; width: 100%; padding: 0 35vw">
<div style="display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 0 35vw">
<a class="_home-link" href="/docs-main/about/">Docs</a>
<a class="_home-link" href="https://github.com/CyCraft/magnetar/blob/production/CHANGELOG.md" target="_blank">Changelog<svg style="margin-left: 4px" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="_svg q-ml-sm"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>
<a class="_home-link" href="https://github.com/CyCraft/magnetar/blob/main/CHANGELOG.md" target="_blank">Changelog<svg style="margin-left: 4px" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="_svg q-ml-sm"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>
<a class="_home-link" href="https://github.com/cycraft/magnetar" target="_blank">Github<svg style="margin-left: 4px" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="_svg q-ml-sm"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>
</div>
Loading

0 comments on commit 388c927

Please sign in to comment.