File tree Expand file tree Collapse file tree 4 files changed +52
-9
lines changed
Expand file tree Collapse file tree 4 files changed +52
-9
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : false
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Ruby Setup
26+ uses : ruby/setup-ruby@v1
27+ with :
28+ bundler-cache : true
29+
30+ - name : Build site with Middleman
31+ run : bundle exec middleman build
32+
33+ - name : Setup Pages
34+ uses : actions/configure-pages@v4
35+
36+ - name : Upload artifact
37+ uses : actions/upload-pages-artifact@v3
38+ with :
39+ path : ' build'
40+
41+ deploy :
42+ environment :
43+ name : github-pages
44+ url : ${{ steps.deployment.outputs.page_url }}
45+ runs-on : ubuntu-latest
46+ needs : build
47+ steps :
48+ - name : Deploy to GitHub Pages
49+ id : deployment
50+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ source 'https://rubygems.org'
22
33gem 'middleman'
44gem 'middleman-favicon-maker'
5- gem 'middleman-gh-pages'
5+
66gem 'middleman-inline_svg'
77gem 'middleman-livereload'
88gem 'middleman-minify-html'
99gem 'middleman-robots'
10- gem " middleman-tailwind" , github : " teaforthecat/middleman-tailwind" , branch : " upgrade-execs-to-3.4.1"
10+ gem ' middleman-tailwind' , github : ' teaforthecat/middleman-tailwind' , branch : ' upgrade-execs-to-3.4.1'
Original file line number Diff line number Diff line change 103103 middleman-favicon-maker (4.1.0 )
104104 favicon_maker (~> 1.3 , >= 1.3.1 )
105105 middleman-core (~> 4.0 )
106- middleman-gh-pages (0.4.1 )
107- rake (> 0.9.3 )
108106 middleman-inline_svg (0.1.2 )
109107 middleman-core (>= 3.4.1 )
110108 nokogiri (>= 1.8 )
139137 rack
140138 rackup (2.3.1 )
141139 rack (>= 3 )
142- rake (13.3.1 )
143140 rb-fsevent (0.11.2 )
144141 rb-inotify (0.11.1 )
145142 ffi (~> 1.0 )
@@ -166,7 +163,6 @@ PLATFORMS
166163DEPENDENCIES
167164 middleman
168165 middleman-favicon-maker
169- middleman-gh-pages
170166 middleman-inline_svg
171167 middleman-livereload
172168 middleman-minify-html
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments