Merge pull request #68 from Freegle/bugfix/page-transition-loader #286
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
# .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 }} |