Skip to content

implement input validation & transformation #11

implement input validation & transformation

implement input validation & transformation #11

Workflow file for this run

name: Deploy to Azure Web App
on:
push:
branches:
- main # Set to your default branch
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@master
- name: 'Run npm install'
run: npm install
- name: 'Deploy to Azure WebApp'
uses: azure/webapps-deploy@v2
with:
app-name: ${{ secrets.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
package: .
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- name: 'Debug: Echo DATABASE_URL'
run: echo "DATABASE_URL=${{ secrets.DATABASE_URL }}"