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