Merge branch 'develop' #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Site | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Copy files to dist | |
run: | | |
mkdir -p dist | |
cp -r *.html favicon.png CNAME assets column-options extensions issues json methods options welcomes utils dist/ | |
VERSION=`git rev-list --count master` | |
find dist -type f -exec sed -i "s/v=VERSION/v=$VERSION/g" {} \; | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist |