Skip to content

Commit 5f7cf89

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 16aaedc + f09c67a commit 5f7cf89

File tree

5 files changed

+53
-0
lines changed

5 files changed

+53
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ jobs:
1919
run: |
2020
npm i
2121
npm run test -- --watch=false --browsers=ChromeHeadless
22+
env:
23+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/demo-deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Demo deploy
2+
3+
on: push
4+
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
-
10+
name: Checkout
11+
uses: actions/checkout@v2
12+
-
13+
name: Build
14+
run: |
15+
npm i
16+
npm run ngxe:build:demo
17+
env:
18+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19+
-
20+
name: Deploy to GitHub Pages
21+
if: success()
22+
uses: crazy-max/ghaction-github-pages@v2
23+
with:
24+
target_branch: gh-pages
25+
build_dir: dist/ngxe
26+
fqdn: ngxe.oleksanovyk.com
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
-
12+
name: Checkout
13+
uses: actions/checkout@v2
14+
-
15+
name: Build
16+
run: |
17+
npm i
18+
npm run test -- --watch=false --browsers=ChromeHeadless
19+
npm run release
20+
env:
21+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ngxe.oleksanovyk.com

0 commit comments

Comments
 (0)