Update README.md #113
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
name: deploy to firebase hosting | |
'on': | |
push: | |
branches: [ main, 0.0.19 ] | |
pull_request: | |
branches: [ main, 0.0.19 ] | |
env: | |
CI: false | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: create build | |
working-directory: ./docs | |
run: npm --force ci && npm run build | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_AIINPY }}' | |
channelId: live | |
projectId: aiinpy | |
entryPoint: ./docs |