Fix ref name
parent
953b136b14
commit
2d04b2a279
|
@ -25,8 +25,10 @@ jobs:
|
||||||
uses: bahmutov/npm-install@v1.1.0
|
uses: bahmutov/npm-install@v1.1.0
|
||||||
- name: Test
|
- name: Test
|
||||||
run: yarn test
|
run: yarn test
|
||||||
|
|
||||||
- name: Copy built files to docs
|
- name: Copy built files to docs
|
||||||
run: cp ./dist/shareon.min.* ./docs
|
run: cp ./dist/shareon.min.* ./docs
|
||||||
|
if: github.event == 'push' && github.ref == 'refs/heads/master'
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: crazy-max/ghaction-github-pages@v2.1.2
|
uses: crazy-max/ghaction-github-pages@v2.1.2
|
||||||
with:
|
with:
|
||||||
|
@ -34,4 +36,4 @@ jobs:
|
||||||
build_dir: docs
|
build_dir: docs
|
||||||
fqdn: shareon.js.org
|
fqdn: shareon.js.org
|
||||||
jekyll: false
|
jekyll: false
|
||||||
if: github.event == 'push' && github.ref == 'master'
|
if: github.event == 'push' && github.ref == 'refs/heads/master'
|
||||||
|
|
Loading…
Reference in New Issue