diff --git a/.firebase/hosting.ZGlzdA.cache b/.firebase/hosting.ZGlzdA.cache new file mode 100644 index 0000000..f45e65d --- /dev/null +++ b/.firebase/hosting.ZGlzdA.cache @@ -0,0 +1,7 @@ +index.html,1724249716318,792eb436f752871965842f7108818056819967c9428d4b0e3fe68bd433d0901a +favicon.svg,1724249716138,adc7e10f9bbcf8f9f82633c10dff6adf766bb3b521a127257964852e54d40a7f +assets/index-D2oKlaOf.css,1724249716318,83048111e6b01add7846a3f820c8f5da59902198a7219142c4343e0dac692e3b +assets/index-AEhDgl0z.js,1724249716318,9dd0f358c875aa401c6bc405d7c35d5ce0f95cd642f60e630acc49e5b456bb4f +releases/latest.zip,1724249716138,e5000752bea1ee8915d21a9b4c0bd6b53b61d0f93d4b5af3c05d024c44be5ef2 +releases/sudachi-android-v1.0.4.7z,1724249716147,6de6313085506266b5145ffaddf27a16f9342406997ba610dd73ec90d1740836 +releases/sudachi-windows-v1.0.4.7z,1724249716192,2f0e2f68e65d3485364a5507ec5f379e1dfdaeefa9c4d74dd08451bb2b9478a5 diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..31c5289 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "sudachi-d0faa" + } +} diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml new file mode 100644 index 0000000..4bfda3d --- /dev/null +++ b/.github/workflows/firebase-hosting-merge.yml @@ -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 build + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: ${{ secrets.GITHUB_TOKEN }} + firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SUDACHI_D0FAA }} + channelId: live + projectId: sudachi-d0faa diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml new file mode 100644 index 0000000..32f416a --- /dev/null +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -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 build + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: ${{ secrets.GITHUB_TOKEN }} + firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SUDACHI_D0FAA }} + projectId: sudachi-d0faa diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..88f64a9 --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "dist", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +} \ No newline at end of file diff --git a/index.html b/index.html index c4ce3d1..c942d88 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,16 @@ -
+ + - -