Skip to content

Commit 6176fc9

Browse files
committed
workflow build con actions
1 parent 0e1a6ac commit 6176fc9

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

.github/workflows/jekyll-docker.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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

_layouts/inicio.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
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

-24 KB
Binary file not shown.

assets/img/icons/favicon-32x32.png

-183 Bytes
Loading

0 commit comments

Comments
 (0)