ci: add github action for gh pages deployment

This commit is contained in:
4gray committed 2019-10-06 17:49:17 +02:00
1 parent 79332aa6de
commit b8a9c3c38a
1 file changed
+19
+19
View File
@@ -0,0 +1,19 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist/iptv-player
BUILD_SCRIPT: npm install && npm run-script build