Moved GH Pages prep to its own step
This commit is contained in:
parent
aa09da0403
commit
7dccecb336
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user