Skip to content

Commit

Permalink
Merge branch 'Initialize_line' of github.com:shefing/numbers_line int…
Browse files Browse the repository at this point in the history
…o Initialize_line
  • Loading branch information
Rachel Braverman committed Jan 17, 2024
2 parents 72c5c69 + 23b86d9 commit 478ef79
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"projects": {
"staging": "numbersline-90763",
"default": "numbersline-90763"
},
"targets": {
"numbersline-90763": {
"hosting": {
"ddassets": [
"numbersline-90763"
]
}
}
},
"etags": {}
}
25 changes: 25 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: yarn && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DDASSETS_69DA8 }}'
channelId: live
projectId: numbersline-90763
- uses: actions/upload-artifact@v3
with:
name: numbersline
path: |
dist
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
.idea
.idea
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
1 change: 0 additions & 1 deletion src/components/Ruler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ const Ruler = () => {
};

export default Ruler;
// enum

0 comments on commit 478ef79

Please sign in to comment.