Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a GitHub action to deploy the demo app on Azure #506

Closed
wants to merge 1 commit into from

Conversation

santoshyadavdev
Copy link
Member

@santoshyadavdev santoshyadavdev commented Jul 12, 2024

Add a GitHub action to deploy the demo app on Azure.

  • Add a new target deploy to the targets section in apps/ngu-carousel-example/project.json with the executor set to @nrwl/workspace:run-commands and the command set to npx ng build ngu-carousel-example.
  • Create a new GitHub action file .github/workflows/deploy-demo-app.yml to deploy the demo app on Azure.
    • Use actions/checkout@v4 to check out the repository.
    • Use actions/setup-node@v4 to set up node 18.
    • Install dependencies using npm ci.
    • Build the app using npm run build.
    • Log in to Azure using azure/login@v1 with secrets.azureenv.
    • Deploy the app to Azure Web App using azure/webapps-deploy@v2 with app-name set to Demo App and the package path set to dist/apps/ngu-carousel-example/browser.

For more details, open the Copilot Workspace session.

Copy link

nx-cloud bot commented Jul 12, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit f773fa3. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link

This PR has been automatically marked as stale because it has not had recent activity for 6 months. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jan 17, 2025
Copy link

Closing this PR due to no activity for 6 months.

@github-actions github-actions bot closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant