diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..dde27c5 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,15 @@ +{ + "projects": { + "default": "vertex-center" + }, + "targets": { + "vertex-center": { + "hosting": { + "vertex-baselines": [ + "vertex-baselines" + ] + } + } + }, + "etags": {} +} \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..523000d --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: Deploy to Firebase + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Deploy to Firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_VERTEX_CENTER }}' + projectId: vertex-center diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0230227 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.firebase diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..a4a65d1 --- /dev/null +++ b/firebase.json @@ -0,0 +1,6 @@ +{ + "hosting": { + "target": "vertex-baselines", + "public": "baselines" + } +}