{"id":18086393,"url":"https://github.com/mdazfar2/azure-webapp-github-actions","last_synced_at":"2026-04-15T14:31:32.327Z","repository":{"id":236069041,"uuid":"791614539","full_name":"mdazfar2/Azure-WebApp-Github-Actions","owner":"mdazfar2","description":"It is a GitHub repository setup with automated workflows using GitHub Actions. This integration allows for continuous deployment to Azure Web App, ensuring effortless updates and seamless CI/CD for your web application.","archived":false,"fork":false,"pushed_at":"2024-04-25T16:25:49.000Z","size":6974,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-10T03:23:35.939Z","etag":null,"topics":["azure","devops","github-actions","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdazfar2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-25T03:26:25.000Z","updated_at":"2024-04-29T04:57:55.000Z","dependencies_parsed_at":"2025-02-12T06:43:27.634Z","dependency_job_id":"b36bb94b-fc07-45e1-a3a6-b4b8dfd40f7f","html_url":"https://github.com/mdazfar2/Azure-WebApp-Github-Actions","commit_stats":null,"previous_names":["mdazfar2/azure-webapp-github-actions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdazfar2/Azure-WebApp-Github-Actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdazfar2%2FAzure-WebApp-Github-Actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdazfar2%2FAzure-WebApp-Github-Actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdazfar2%2FAzure-WebApp-Github-Actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdazfar2%2FAzure-WebApp-Github-Actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdazfar2","download_url":"https://codeload.github.com/mdazfar2/Azure-WebApp-Github-Actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdazfar2%2FAzure-WebApp-Github-Actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270816524,"owners_count":24650824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","devops","github-actions","nodejs"],"created_at":"2024-10-31T16:07:48.518Z","updated_at":"2026-04-15T14:31:27.296Z","avatar_url":"https://github.com/mdazfar2.png","language":"JavaScript","readme":"# Azure Web App Deployment with GitHub Actions\n\nThis repository demonstrates how to automate the deployment of a Node.js application to Azure Web App using GitHub Actions.\n\n## Workflow Overview\n\nThe GitHub Actions workflow defined in `.github/workflows/main_azfaralam.yml` has two main jobs:\n\n1. **Build Job:**\n   - Checks out the code using `actions/checkout`.\n   - Sets up the Node.js environment with `actions/setup-node`.\n   - Installs dependencies, builds the application, and runs tests using `npm`.\n   - Zips the application into an artifact using `zip` and uploads it using `actions/upload-artifact`.\n\n2. **Deploy Job:**\n   - Downloads the artifact created in the build job using `actions/download-artifact`.\n   - Unzips the artifact.\n   - Logs into Azure using `azure/login`.\n   - Deploys the application to Azure Web App using `azure/webapps-deploy`.\n\n## How to Use\n\nTo use this workflow for your own Node.js application and Azure Web App:\n\n1. **Clone Repository:**\n   Fork or Clone this repository to your local machine.\n\n   ```bash\n   git clone https://github.com/mdazfar2/Azure-WebApp-Github-Actions.git\n\n2. **Configure Azure Secrets:**\n   - In your GitHub repository settings, add the following secrets:\n\n      `AZUREAPPSERVICE_CLIENTID_7A31824AC67C4044A30CD0F793814F0F` --\u003e Azure Service Principal Client ID.\n\n      `AZUREAPPSERVICE_TENANTID_3007C81CD6D349A8AA893C70548DC0B7` --\u003e Azure Service Principal Tenant ID.\n\n      `AZUREAPPSERVICE_SUBSCRIPTIONID_7AEB8BB8C759465FB19BFE67DE66C09C` --\u003e Azure Subscription ID.\n\n3. **Modify Azure App Name (if necessary):**\n   Update the `app-name` and `slot-name` in the `deploy` job of `main_azfaralam.yml` to match your Azure Web App.\n4. **Push Changes:**\n   Make any necessary changes to your Node.js application code.\n\n## It's time to check Actions:\nCommit and push your changes to trigger the GitHub Actions workflow.\n   ```bash\n   git add .\n   git commit -m \"Update application code\"\n   git push origin main\n   ```\n- **Monitor Deployment:**\n  Visit the `Actions` tab in your GitHub repository to monitor the progress of the deployment workflow. Once completed, your Node.js application will be deployed to Azure Web App.\n\n## Customize Workflow like upload images to DockerHub\nFeel free to customize the workflow to suit your specific needs:\n\n   - Modify Node.js version (`node-version`) or build commands in the `build` job.\n   - Adjust deployment settings such as `app-name` and `slot-name` in the `deploy` job.\n\n## License\nThis project is licensed under the [MIT License](https://github.com/mdazfar2/Azure-WebApp-Github-Actions/blob/main/LICENSE).\n\n***if you are facing issues related Azure, don't hesitate to ask me. You can contact with me on-***\n\n- [LinkedIN](https://linkedin.com/in/md-azfar-alam)\n- [Discord](https://discordapp.com/users/877531143610708028)\n- [Mail Me](mailto:azfaralam.ops@gmail.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdazfar2%2Fazure-webapp-github-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdazfar2%2Fazure-webapp-github-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdazfar2%2Fazure-webapp-github-actions/lists"}