From b8a9c3c38a0ab45173d175488f951d03e7f5dcbe Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 6 Oct 2019 17:49:17 +0200 Subject: [PATCH] ci: add github action for gh pages deployment --- .github/workflows/deploy-to-gh-pages.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy-to-gh-pages.yml diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml new file mode 100644 index 000000000..21ae49dc1 --- /dev/null +++ b/.github/workflows/deploy-to-gh-pages.yml @@ -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