-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
322 changed files
with
29,491 additions
and
6,223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Deploy to demo (azure storage) | ||
|
||
on: | ||
push: | ||
branches: | ||
- demo | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 10.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10.x' | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: demo | ||
- name: npm install, build | ||
run: | | ||
npm install | ||
npm run build:demo:prod | ||
# Azure CLI Upload to storage | ||
- uses: azure/login@v1 | ||
with: | ||
creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }} | ||
- name: Upload to blob storage | ||
uses: azure/CLI@v1 | ||
with: | ||
azcliversion: 2.0.72 | ||
inlineScript: | | ||
az storage blob upload-batch -d '$web' -s dist --account-name ngxadmin --debug | ||
# Azure logout | ||
- name: logout | ||
run: | | ||
az logout | ||
if: always() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<title>404</title> | ||
|
||
<base href="/ngx-admin/"> | ||
|
||
<script type="text/javascript" src="assets/ghspa.js"></script> | ||
</head> | ||
|
||
<body> | ||
| ||
| ||
| ||
| ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
* @license | ||
* Copyright Akveo. All Rights Reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*/ | ||
|
||
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
import { throwIfAlreadyLoaded } from './module-import-guard'; | ||
import { DataModule } from './data/data.module'; | ||
|
||
const PIPES = [ | ||
]; | ||
|
||
const NB_CORE_PROVIDERS = [ | ||
...DataModule.forRoot().providers, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
], | ||
exports: [...PIPES], | ||
declarations: [...PIPES], | ||
}) | ||
export class CoreModule { | ||
constructor(@Optional() @SkipSelf() parentModule: CoreModule) { | ||
throwIfAlreadyLoaded(parentModule, 'CoreModule'); | ||
} | ||
|
||
static forRoot(): ModuleWithProviders<CoreModule> { | ||
return { | ||
ngModule: CoreModule, | ||
providers: [ | ||
...NB_CORE_PROVIDERS, | ||
], | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/** | ||
* @license | ||
* Copyright Akveo. All Rights Reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*/ | ||
|
||
import { NgModule, ModuleWithProviders } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
import { HeaderMenuService } from './service/header-menu.service'; | ||
import { ReviewsService } from './service/reviews.service'; | ||
import { DescriptionsService } from './service/descriptions.service'; | ||
import { BundlesService } from './service/bundles.service'; | ||
|
||
const SERVICES = [ | ||
HeaderMenuService, | ||
ReviewsService, | ||
DescriptionsService, | ||
BundlesService, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
], | ||
providers: [ | ||
...SERVICES, | ||
], | ||
}) | ||
export class DataModule { | ||
static forRoot(): ModuleWithProviders<DataModule> { | ||
return { | ||
ngModule: DataModule, | ||
providers: [ | ||
...SERVICES, | ||
], | ||
}; | ||
} | ||
} |
Oops, something went wrong.