File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: Web validator
33
44on :
55 push :
6- branches : [main, stable ]
6+ branches : [main, dev ]
77 pull_request :
8- branches : [main, stable ]
8+ branches : [main, dev ]
99 release :
1010 types : [published]
1111 workflow_dispatch :
@@ -42,24 +42,25 @@ jobs:
4242 - name : Checkout release/target
4343 uses : actions/checkout@v4
4444 with :
45- # Use the implicit ref, assuming it's stable
45+ # Stable is whatever we're releasing. Should generally
46+ # be the last release, but can be main.
4647 path : stable
47- - name : Checkout main
48+ - name : Checkout dev
4849 uses : actions/checkout@v4
4950 with :
50- ref : main
51- path : main
51+ ref : dev
52+ path : dev
5253 - uses : denoland/setup-deno@v2
5354 with :
5455 deno-version : v2.x
5556 - name : Build release/target
5657 run : deno task build
5758 working-directory : stable/web
58- - name : Build main
59+ - name : Build dev
5960 run : deno task build
60- working-directory : main /web
61- - name : Nest main inside stable
62- run : mv main /web/dist stable/web/dist/dev
61+ working-directory : dev /web
62+ - name : Nest dev inside stable
63+ run : mv dev /web/dist stable/web/dist/dev
6364 - name : Upload GitHub Pages artifact
6465 uses : actions/upload-pages-artifact@v3
6566 with :
You can’t perform that action at this time.
0 commit comments