diff --git a/.firebaserc b/.firebaserc index 6f08c5b..1dbdbed 100644 --- a/.firebaserc +++ b/.firebaserc @@ -10,9 +10,11 @@ ], "production": [ "gug-web-2023" + ], + "pomoc": [ + "pomoc-gug-2023" ] } } - }, - "etags": {} + } } \ No newline at end of file diff --git a/.github/workflows/firebase-hosting-production-merge.yml b/.github/workflows/firebase-hosting-production-merge.yml index 2d489d8..449a97b 100644 --- a/.github/workflows/firebase-hosting-production-merge.yml +++ b/.github/workflows/firebase-hosting-production-merge.yml @@ -23,3 +23,17 @@ jobs: projectId: gug-web-2023 env: FIREBASE_CLI_PREVIEWS: hostingchannels + + deploy-pomoc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}' + channelId: live + target: pomoc + projectId: gug-web-2023 + env: + FIREBASE_CLI_PREVIEWS: hostingchannels \ No newline at end of file diff --git a/firebase.json b/firebase.json index 0f8c240..9dee3be 100644 --- a/firebase.json +++ b/firebase.json @@ -45,6 +45,17 @@ "destination": "/index.html" } ] + }, + { + "public": "pomoc", + "target": "pomoc", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] } ] } diff --git a/pomoc/index.html b/pomoc/index.html new file mode 100644 index 0000000..c3d39c3 --- /dev/null +++ b/pomoc/index.html @@ -0,0 +1,11 @@ + + + + + + Redirecting... + + +

If you are not redirected automatically, follow the link to the form.

+ +