File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build HTML content from source
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - ' *'
7
+
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch :
10
+
11
+ concurrency :
12
+ group : " pages"
13
+ cancel-in-progress : false
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+ - name : Setup Ruby
22
+ uses : ruby/setup-ruby@v1
23
+ with :
24
+ ruby-version : ' 3.3'
25
+ - name : Install dependencies
26
+ run : bundle install
27
+ - name : Build with Middleman
28
+ run : |
29
+ mkdir __build
30
+ BUILD_OUTPUT="__build" middleman build
31
+ - name : HTML Preview
32
+ id : html_preview
33
+ uses : pavi2410/html-preview-action@v2
34
+ with :
35
+ html_file : ' __build/index.html'
You can’t perform that action at this time.
0 commit comments