diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d0d76a7..00068a77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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