diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml new file mode 100644 index 0000000..3d54f2c --- /dev/null +++ b/.github/workflows/deploy-prod.yml @@ -0,0 +1,24 @@ +name: Deploy to Live Site + +on: + push: + branches: + - main + # Optionally configure to run only for specific files. For example: + # paths: + # - "website/**" + +jobs: + deploy_live_website: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # Add any build steps here. For example: + # - run: npm ci && npm run build + - run: yarn install + - run: yarn build + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + firebaseServiceAccount: '${{ secrets._TOKEN }}' + projectId: ${{ secrets.PROJECT_ID }} + channelId: live