Skip to content

Commit a854eae

Browse files
authored
add new theme test builds
1 parent 12693ff commit a854eae

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Build Tutorials
33

44
on:
55
push:
6-
branches: [ master ]
76
tags: ['*']
87
pull_request:
98
branches: [ master ]
@@ -47,6 +46,15 @@ jobs:
4746
make clean
4847
make html
4948
cp -rT _build/html public
49+
50+
- name: Build new theme version
51+
if: github.ref == 'refs/heads/master'
52+
shell: bash -l {0}
53+
run: |
54+
git checkout newtheme;
55+
make clean
56+
make html-dev
57+
cp -rT _build/html public/new
5058
5159
- name: Deploy 🚀
5260
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)