File tree Expand file tree Collapse file tree 4 files changed +35
-2
lines changed Expand file tree Collapse file tree 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 88
99 < body class ="site ">
1010
11- < script >
11+ <!-- <script>
1212 var lang = navigator.language || navigator.userLanguage;
1313 if (lang.indexOf('es') == 0)
1414 window.location = '/';
1515 else
1616 window.location = '/en/';
17- </ script >
17+ </script> -->
1818
1919 {% if site.google_tag_manager %}
2020
You can’t perform that action at this time.
0 commit comments