Skip to content

Update dependency @types/react from v18.3.16 to v18.3.17 (#356) #393

Update dependency @types/react from v18.3.16 to v18.3.17 (#356)

Update dependency @types/react from v18.3.16 to v18.3.17 (#356) #393

# 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:
- master
jobs:
build_and_deploy_dev:
runs-on: ubuntu-latest
environment: 'dev'
env:
REACT_APP_AUTH0_DOMAIN: ror-entur-dev.eu.auth0.com
REACT_APP_AUTH0_CLIENT_ID: fa3xdcRIvN3QpVl3eVRUGPiJEoHSTy0C
REACT_APP_AUTH0_AUDIENCE: https://ror.api.dev.entur.io
REACT_APP_AUTH0_RELATIVE_CALLBACK_URL: /
REACT_APP_TIMETABLE_ADMIN_BASE_URL: https://api.dev.entur.io/timetable-admin/v1/timetable
REACT_APP_PROVIDERS_BASE_URL: https://api.dev.entur.io/timetable-admin/v1/providers
REACT_APP_UTTU_API_URL: https://api.dev.entur.io/timetable-admin/v1/flexible-lines/exportedLineStatistics/graphql
REACT_APP_EVENT_BASE_URL: https://api.dev.entur.io/timetable-admin/v1/events
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ENT_NINSAR_DEV }}'
channelId: live
projectId: ent-ninsar-dev
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
build_and_deploy_staging:
runs-on: ubuntu-latest
needs: [build_and_deploy_dev]
environment: 'staging'
env:
REACT_APP_AUTH0_DOMAIN: ror-entur-staging.eu.auth0.com
REACT_APP_AUTH0_CLIENT_ID: YcfrQxHGHBFBO9IukAvHG2e5d0yXwO1N
REACT_APP_AUTH0_AUDIENCE: https://ror.api.staging.entur.io
REACT_APP_AUTH0_RELATIVE_CALLBACK_URL: /
REACT_APP_TIMETABLE_ADMIN_BASE_URL: https://api.staging.entur.io/timetable-admin/v1/timetable
REACT_APP_PROVIDERS_BASE_URL: https://api.staging.entur.io/timetable-admin/v1/providers
REACT_APP_UTTU_API_URL: https://api.staging.entur.io/timetable-admin/v1/flexible-lines/exportedLineStatistics/graphql
REACT_APP_EVENT_BASE_URL: https://api.staging.entur.io/timetable-admin/v1/events
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ENT_NINSAR_TST }}'
channelId: live
projectId: ent-ninsar-tst
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
build_and_deploy_prod:
runs-on: ubuntu-latest
needs: [build_and_deploy_dev, build_and_deploy_staging]
environment: 'prod'
env:
REACT_APP_AUTH0_DOMAIN: auth2.entur.org
REACT_APP_AUTH0_CLIENT_ID: VaHL7CIrAT293Og9Sm9uWXuNRSMnn8Pd
REACT_APP_AUTH0_AUDIENCE: https://ror.api.entur.io
REACT_APP_AUTH0_RELATIVE_CALLBACK_URL: /
REACT_APP_TIMETABLE_ADMIN_BASE_URL: https://api.entur.io/timetable-admin/v1/timetable
REACT_APP_PROVIDERS_BASE_URL: https://api.entur.io/timetable-admin/v1/providers
REACT_APP_UTTU_API_URL: https://api.entur.io/timetable-admin/v1/flexible-lines/exportedLineStatistics/graphql
REACT_APP_EVENT_BASE_URL: https://api.entur.io/timetable-admin/v1/events
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ENT_NINSAR_PRD }}'
channelId: live
projectId: ent-ninsar-prd
env:
FIREBASE_CLI_PREVIEWS: hostingchannels