Skip to content

chore(auth): fix auth credentials (#1173) #96

chore(auth): fix auth credentials (#1173)

chore(auth): fix auth credentials (#1173) #96

name: Deploy Next Staging
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "next-tavla/**"
env:
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
jobs:
deploy-staging:
runs-on: ubuntu-latest
defaults:
run:
working-directory: next-tavla
steps:
- uses: actions/checkout@v2
- name: Install
run: yarn install
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_DEPLOY_CREDENTIALS_STAGING }}"
projectId: entur-tavla-staging
channelId: live
entrypoint: ./next-tavla
firebaseToolsVersion: 12.1.0
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks