Skip to content

Bundle openapi.yml and commit updated code #360

Bundle openapi.yml and commit updated code

Bundle openapi.yml and commit updated code #360

name: Deploy to Azure Function App (Production)
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to Azure Function App
uses: azure/functions-action@v1
with:
app-name: booking-shopify-api
package: .
publish-profile: ${{ secrets.AZURE_FUNCTION_APP_PUBLISH_PROFILE_PRODUCTION }}