Skip to content

Bug in recent chat rework. #292

Bug in recent chat rework.

Bug in recent chat rework. #292

# .github/workflows/azure.yml
name: Azure Functions (for SSR)
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
node: [ 18 ]
steps:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: yarn
- name: Build
run: export NODE_OPTIONS=--max-old-space-size=8192;npm run build
env:
NITRO_PRESET: azure-functions
IZNIK_API_V1: https://fdapilive.ilovefreegle.org/api
IZNIK_API_V2: https://api.ilovefreegle.org/apiv2
- name: 'Deploy to Azure Functions'
uses: Azure/functions-action@v1
with:
app-name: Freegle
package: .output/deploy.zip
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}