Add pages action (#3311)

* Add script to handle updates to the docs folder

* Create gh-pages.yml

* Update on-pages.sh
This commit is contained in:
Me No Dev
2019-10-01 16:04:20 +03:00
committed by GitHub
parent 01d9345d28
commit 270a2759d9
2 changed files with 152 additions and 0 deletions

21
.github/workflows/gh-pages.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: GitHub Pages CI
on:
push:
branches:
- master
paths:
- 'README.md'
- 'docs/**'
jobs:
build-pages:
name: Build GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Copy Files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash ./.github/scripts/on-pages.sh