Skip to content

Commit

Permalink
Login form and CI/CD changes
Browse files Browse the repository at this point in the history
  • Loading branch information
M1chalS committed Aug 7, 2023
1 parent 8cad449 commit 36bc9c6
Show file tree
Hide file tree
Showing 7 changed files with 9,645 additions and 2,202 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ name: Deploy to Firebase Hosting on merge
jobs:
build_and_deploy:
runs-on: ubuntu-latest
env:
VITE_API_KEY= "${{ secrets.VITE_API_KEY }}"
VITE_AUTH_DOMAIN= "${{ secrets.VITE_AUTH_DOMAIN }}"
VITE_PROJECT_ID= "${{ secrets.VITE_PROJECT_ID }}"
VITE_STORAGE_BUCKET= "${{ secrets.VITE_STORAGE_BUCKET }}"
VITE_MESSAGING_SENDER_ID= "${{ secrets.VITE_MESSAGING_SENDER_ID }}"
VITE_APP_ID= "${{ secrets.VITE_APP_ID }}"
VITE_MEASURMENT_ID= "${{ secrets.VITE_MEASURMENT_ID }}"
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
env:
VITE_API_KEY= "${{ secrets.VITE_API_KEY }}"
VITE_AUTH_DOMAIN= "${{ secrets.VITE_AUTH_DOMAIN }}"
VITE_PROJECT_ID= "${{ secrets.VITE_PROJECT_ID }}"
VITE_STORAGE_BUCKET= "${{ secrets.VITE_STORAGE_BUCKET }}"
VITE_MESSAGING_SENDER_ID= "${{ secrets.VITE_MESSAGING_SENDER_ID }}"
VITE_APP_ID= "${{ secrets.VITE_APP_ID }}"
VITE_MEASUREMENT_ID= "${{ secrets.VITE_MEASUREMENT_ID }}"
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
Expand Down
Loading

0 comments on commit 36bc9c6

Please sign in to comment.