Fix ref name

pull/29/head
Nikita Karamov 2020-09-24 20:15:33 +02:00 committed by GitHub
parent 953b136b14
commit 2d04b2a279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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'