Skip to content

Commit

Permalink
added azure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ahnaf committed Sep 4, 2024
1 parent dfeab88 commit c403a14
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to Azure App Service

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Setup Node.js version
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install
- name: Deploy to Azure App Service
uses: azure/webapps-deploy@v2
with:
app-name: bookify
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: .

0 comments on commit c403a14

Please sign in to comment.