Skip to content

Commit

Permalink
firebase deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sbolotnikov committed Jun 4, 2024
1 parent bfa3325 commit 77ae0f4
Show file tree
Hide file tree
Showing 103 changed files with 152 additions and 511 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "test-editor-7f0d0"
}
}
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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@v4
- run: npm ci && npm run docs
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TEST_EDITOR_7F0D0 }}
channelId: live
projectId: test-editor-7f0d0
21 changes: 21 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
on: pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run docs
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TEST_EDITOR_7F0D0 }}
projectId: test-editor-7f0d0
1 change: 0 additions & 1 deletion docs/build/Astronony Test Demo.txt

This file was deleted.

36 changes: 0 additions & 36 deletions docs/build/CopyContext.js

This file was deleted.

Binary file removed docs/build/apple-touch-icon.png
Binary file not shown.
50 changes: 0 additions & 50 deletions docs/build/asset-manifest.json

This file was deleted.

Binary file removed docs/build/favicon-16x16.png
Binary file not shown.
Binary file removed docs/build/favicon-32x32.png
Binary file not shown.
Binary file removed docs/build/favicon.ico
Binary file not shown.
Binary file removed docs/build/icon-128x128.png
Binary file not shown.
Binary file removed docs/build/icon-144x144.png
Binary file not shown.
Binary file removed docs/build/icon-152x152.png
Binary file not shown.
Binary file removed docs/build/icon-192x192.png
Binary file not shown.
Binary file removed docs/build/icon-36x36.png
Binary file not shown.
Binary file removed docs/build/icon-384x384.png
Binary file not shown.
Binary file removed docs/build/icon-48x48.png
Binary file not shown.
Binary file removed docs/build/icon-512x512.png
Binary file not shown.
Binary file removed docs/build/icon-72x72.png
Binary file not shown.
Binary file removed docs/build/icon-96x96.png
Binary file not shown.
6 changes: 0 additions & 6 deletions docs/build/icons/EditIcon.svg

This file was deleted.

1 change: 0 additions & 1 deletion docs/build/icons/G_Logo.svg

This file was deleted.

4 changes: 0 additions & 4 deletions docs/build/icons/Play.svg

This file was deleted.

24 changes: 0 additions & 24 deletions docs/build/icons/QuizLogo.svg

This file was deleted.

5 changes: 0 additions & 5 deletions docs/build/icons/burger.svg

This file was deleted.

3 changes: 0 additions & 3 deletions docs/build/icons/close.svg

This file was deleted.

Loading

0 comments on commit 77ae0f4

Please sign in to comment.