File tree 4 files changed +35
-2
lines changed
4 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Deploy Jekyll Site
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@v3
15
+
16
+ - name : Set up Ruby
17
+ uses : ruby/setup-ruby@v1
18
+ with :
19
+ ruby-version : 3.4
20
+
21
+ - name : Install dependencies
22
+ run : |
23
+ gem install bundler
24
+ bundle install
25
+
26
+ - name : Build Jekyll site
27
+ run : bundle exec jekyll build
28
+
29
+ - name : Deploy to GitHub Pages
30
+ uses : peaceiris/actions-gh-pages@v3
31
+ with :
32
+ deploy_branch : gh-pages
33
+ folder : _site
Original file line number Diff line number Diff line change 8
8
9
9
< body class ="site ">
10
10
11
- < script >
11
+ <!-- <script>
12
12
var lang = navigator.language || navigator.userLanguage;
13
13
if (lang.indexOf('es') == 0)
14
14
window.location = '/';
15
15
else
16
16
window.location = '/en/';
17
- </ script >
17
+ </script> -->
18
18
19
19
{% if site.google_tag_manager %}
20
20
You can’t perform that action at this time.
0 commit comments