Moved GH Pages prep to its own step

This commit is contained in:
n1474335 2021-01-22 17:15:58 +00:00
parent aa09da0403
commit 7dccecb336
1 changed files with 3 additions and 1 deletions

View File

@ -38,9 +38,11 @@ jobs:
- name: UI Tests
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
- name: Prepare for GitHub Pages
run: npx grunt copy:ghPages
- name: Deploy to GitHub Pages
if: success() && github.ref == 'refs/heads/master'
run: npx grunt copy:ghPages
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages