mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
Moved GH Pages prep to its own step
This commit is contained in:
parent
aa09da0403
commit
7dccecb336
1 changed files with 3 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue