Skip to content

Commit 64e5b21

Browse files
Publish site to github pages workflow (#1)
1 parent 7e5415b commit 64e5b21

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Publish Site
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Use Node.js 12.14.1
12+
uses: actions/setup-node@v1
13+
with:
14+
node-version: 12.14.1
15+
- name: Build and Deploy
16+
uses: JamesIves/github-pages-deploy-action@releases/v2
17+
env:
18+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
19+
BASE_BRANCH: master
20+
BRANCH: gh-pages
21+
FOLDER: dist/angular-component-library
22+
BUILD_SCRIPT: npm install && npm run build:prod

0 commit comments

Comments
 (0)