Publish fastapi middleware post 🐩 #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was auto-generated by the Firebase CLI | |
# https://github.com/firebase/firebase-tools | |
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy_to_firebase: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build static pages | |
run: npm ci && npm run build | |
- name: Copy localized files | |
run: | | |
cp -R localized-files/ public/ | |
cp public/localized-files/ru_ALL/index.html public/localized-files/ru_ALL/404.html | |
cp -R public/localized-files/ru_ALL public/localized-files/ALL_ru | |
- name: Deploy to Firebase | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BMWLOG_APP }}' | |
channelId: live | |
projectId: bmwlog-app | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels |