{"id":16998329,"url":"https://github.com/evotechcraft/nextjs-appservice-deployment","last_synced_at":"2026-02-02T01:01:43.010Z","repository":{"id":257824271,"uuid":"871863810","full_name":"evotechcraft/nextjs-appservice-deployment","owner":"evotechcraft","description":"This sample project explains how to deploy a Next.js application to Azure App Service using GitHub Actions for continuous integration and deployment.","archived":false,"fork":false,"pushed_at":"2024-10-27T05:53:20.000Z","size":274,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T20:44:53.680Z","etag":null,"topics":["appservice","azure","azure-app-service","deployment","github-actions","nextjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/evotechcraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-10-13T06:38:38.000Z","updated_at":"2024-10-27T05:53:24.000Z","dependencies_parsed_at":"2024-10-13T11:19:57.105Z","dependency_job_id":"bf03bdfa-ae40-4e93-9e0f-3bb6b0bb8700","html_url":"https://github.com/evotechcraft/nextjs-appservice-deployment","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"267b95bcf09df242b11a469483786b41e3c75bae"},"previous_names":["evotechcraft/nextjs-appservice-deployment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evotechcraft/nextjs-appservice-deployment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evotechcraft%2Fnextjs-appservice-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evotechcraft%2Fnextjs-appservice-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evotechcraft%2Fnextjs-appservice-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evotechcraft%2Fnextjs-appservice-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evotechcraft","download_url":"https://codeload.github.com/evotechcraft/nextjs-appservice-deployment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evotechcraft%2Fnextjs-appservice-deployment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28998208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["appservice","azure","azure-app-service","deployment","github-actions","nextjs"],"created_at":"2024-10-14T04:04:54.351Z","updated_at":"2026-02-02T01:01:42.972Z","avatar_url":"https://github.com/evotechcraft.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Deployment on Azure App Service\n\nThis sample project explains how to deploy a Next.js application to Azure App Service using GitHub Actions for continuous integration and deployment.\n\n## Hire Us\nContact Email - contact@evotechcraft.com\n\n## Free Support\nFor any questions or issues, please contact support at \nSupport mail: support@evotechcraft.com\n\n## Deploying the Next.js Application\n\nClone the this Repository and follow below steps.\n\n## Github action file\n\n```yml\n# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy\n# More GitHub Actions for Azure: https://github.com/Azure/actions\n\nname: Build and deploy next.js app to Azure Web App - nextjs-appservice\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Node.js version\n        uses: actions/setup-node@v3\n        with:\n          node-version: '20.x'\n\n      - name: npm install, build, and test\n        run: |\n          npm install\n          npm run build\n\n\n      - name: move static files\n        run:  mv ./build/static ./build/standalone/build\n\n      - name: Upload artifact for deployment job\n        uses: actions/upload-artifact@v4\n        with:\n          name: app\n          path: ./build/standalone\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: build\n    environment:\n      name: 'Production'\n      url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}\n\n    steps:\n      - name: Download artifact from build job\n        uses: actions/download-artifact@v4\n        with:\n          name: app\n\n      - name: 'Deploy to Azure Web App'\n        id: deploy-to-webapp\n        uses: azure/webapps-deploy@v3\n        with:\n          app-name: 'nextjs-appservice-demo'\n          slot-name: 'Production'\n          publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_6918DA9FE89C484E8FE1DCE98899ECC4 }}\n          package: .\n```\nNote: Replace `nextjs-appservice-demo` with your specific App Service name and ensure that the `AZUREAPPSERVICE_PUBLISHPROFILE` is set in your GitHub repository secrets.\n\n\n\n## next.config.mjs\n\n```ts\nconst nextConfig = {\n    reactStrictMode: true,\n    distDir: 'build',\n    output: 'standalone',\n    };\n  \n  \n  export default nextConfig;\n```\n\n## Azure App service command\n```\nnode server.js\n```\n![Azure App service command](/azure_configuration.png)\n\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for more details.\n\n## Issues\n\nIf you will face any issues with the usage of this package please raise one so that we can quickly fix it as soon as possible.\n\n## Contributing\n\nThis is an open-source project under ```MIT License``` so anyone is welcome to contribute from typos, to source code to documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevotechcraft%2Fnextjs-appservice-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevotechcraft%2Fnextjs-appservice-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevotechcraft%2Fnextjs-appservice-deployment/lists"}