Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/autonomous-ai-music-2.0 / .github/workflows/azure-webapp.yml |
| Date | Not specified in source |
| Repository | Janady13/autonomous-ai-music-2.0 |
| Revision | 97782816fdbe19caf5e14000ecad2609e80b4f09 |
| Branch | main |
| Path or archive member | .github/workflows/azure-webapp.yml |
| Original SHA-256 | 959fb9a1a9833f9a077f7e536697326a4a9391aa2d96360207f32114a2fadd9e |
| Git blob SHA | e40be16ae8b76ebfc0011f823113f4f5d263e0ea |
| Reading-copy SHA-256 | 959fb9a1a9833f9a077f7e536697326a4a9391aa2d96360207f32114a2fadd9e |
Every recorded occurrence
These 2 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/autonomous-ai-music-2.0 / .github/workflows/azure-webapp.yml | main | 97782816fdbe19caf5e14000ecad2609e80b4f09 | Open original |
| Janady13/autonomous-ai-music-2.0 / .github/workflows/azure-webapp.yml | master | 97bc32de3ca437675159ac2637b2311330e45dc6 | Open original |
Recovered source transcript
Download complete source text ↓50 lines · 1.3 KB
name: Deploy to Azure Web App
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create deployment zip
run: |
zip -qr app.zip . \
-x ".venv/*" "__pycache__/*" \
-x ".git/*" ".github/*"
echo "ZIP_PATH=$PWD/app.zip" >> $GITHUB_ENV
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v3
with:
app-name: joseph-omniserver
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.ZIP_PATH }}
- name: Azure Login
uses: azure/login@v1
with:
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
- name: Set environment variables
uses: azure/cli@v2
with:
inlineScript: |
az webapp config appsettings set \
--resource-group joseph-rg \
--name joseph-omniserver \
--settings MONGODB_URI="${{ secrets.MONGODB_URI }}" PORT=8000
- name: Post-deploy ping
run: |
set -e
curl -sSf https://joseph-omniserver.azurewebsites.net/api/v1/health || true