Skip to content

EPMDEDP-17074: docs: Remove KrakenD from 3-13 and higher #802

EPMDEDP-17074: docs: Remove KrakenD from 3-13 and higher

EPMDEDP-17074: docs: Remove KrakenD from 3-13 and higher #802

name: Azure Static Web Apps CI/CD
permissions:
contents: read
pull-requests: write
on:
push:
branches:
- main
jobs:
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v6
with:
submodules: true
lfs: false
fetch-depth: 0
- name: Setup Node.js 🔧
uses: actions/setup-node@v6
with:
node-version: 20
cache: 'npm'
- name: Install and build app 🔧
run: |
npm ci
DOCUSAURUS_SSR_CONCURRENCY=5 IS_LIVE_SITE=true npm run build
cp staticwebapp.config.json build/staticwebapp.config.json
- name: Install and build API 🔧
run: |
cd api
npm ci
npm run build
npm prune --production
- name: Deploy App
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_PEBBLE_0839AF61E }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
skip_app_build: true
skip_api_build: true
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/build" # App source code path
api_location: "/api" # Api source code path - optional
# output_location: "build" # Built app content directory - optional
###### End of Repository/Build Configurations ######