Once again fix GitHub action

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

View File

@ -28,7 +28,7 @@ jobs:
- 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' if: ${{ 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:
@ -36,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 == 'refs/heads/master' if: ${{ github.ref == 'refs/heads/master' }}