# This file was auto-generated by the Firebase CLI # https://github.com/firebase/firebase-tools name: Firebase hosting "on": push: branches: - master jobs: build_and_deploy: runs-on: ubuntu-latest defaults: run: working-directory: website steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run build - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: "${{ secrets.GITHUB_TOKEN }}" firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_CORDE_CB2FC }}" channelId: live projectId: corde-cb2fc entryPoint: "./website"