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