https://github.com/paritosh64ce/test-ui-github-actions
To show how to create, build and deploy Angular application as Azure static web app and how to use GitHub actions to do CI/CD
https://github.com/paritosh64ce/test-ui-github-actions
angular azure-static-website github-actions
Last synced: 29 days ago
JSON representation
To show how to create, build and deploy Angular application as Azure static web app and how to use GitHub actions to do CI/CD
- Host: GitHub
- URL: https://github.com/paritosh64ce/test-ui-github-actions
- Owner: paritosh64ce
- License: mit
- Created: 2021-04-25T04:18:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-26T06:04:37.000Z (about 5 years ago)
- Last Synced: 2025-05-21T14:38:15.106Z (about 1 year ago)
- Topics: angular, azure-static-website, github-actions
- Language: HTML
- Homepage: https://thankful-tree-06e6ab110.azurestaticapps.net/
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TestUiGithubActions
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.3.
## Motivation
* To create, build and deploy Angular application as Azure static web app.
* Use GitHub actions to do CI/CD
* Whenever a new change get committed
- GitHub actions runs the workflow
- builds the angular application
- Deploys the output to Azure static app using the GitHub and Azure secret tokens
* API url: https://paritosh-test-app.azurewebsites.net/weatherforecast
* Demo: https://thankful-tree-06e6ab110.azurestaticapps.net/
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.