diff --git a/.github/workflows/2-json-parser.yml b/.github/workflows/2-json-parser.yml index 0ad250b..11e3b09 100644 --- a/.github/workflows/2-json-parser.yml +++ b/.github/workflows/2-json-parser.yml @@ -36,4 +36,10 @@ jobs: - name: Test run: pnpm run test working-directory: src/2-json-parser/ts + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: ${{ secrets.GITHUB_TOKEN }} + firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CODINGCHALLENGES_2_JSON_9425A }} + channelId: live + projectId: codingchallenges-2-json-9425a diff --git a/src/2-json-parser/ts/.firebaserc b/src/2-json-parser/ts/.firebaserc new file mode 100644 index 0000000..ffbb277 --- /dev/null +++ b/src/2-json-parser/ts/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "codingchallenges-2-json-9425a" + } +} diff --git a/src/2-json-parser/ts/firebase.json b/src/2-json-parser/ts/firebase.json new file mode 100644 index 0000000..e782939 --- /dev/null +++ b/src/2-json-parser/ts/firebase.json @@ -0,0 +1,10 @@ +{ + "hosting": { + "public": "public", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ] + } +} diff --git a/src/2-json-parser/ts/public/404.html b/src/2-json-parser/ts/public/404.html new file mode 100644 index 0000000..829eda8 --- /dev/null +++ b/src/2-json-parser/ts/public/404.html @@ -0,0 +1,33 @@ + + +
+ + +The specified file was not found on this website. Please check the URL for mistakes and try again.
+This page was generated by the Firebase Command-Line Interface. To modify it, edit the 404.html file in your project's configured public directory.
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!
+ Open Hosting Documentation +Firebase SDK Loading…
+ + + +