Skip to content

Commit 323dbb9

Browse files
authored
Add CI workflow to validate build of site on ever pull request (#73)
1 parent 6a82a44 commit 323dbb9

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: CI
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-24.04
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v5
17+
18+
- name: Set Locale
19+
run: |
20+
sudo apt-get update && sudo apt-get install tzdata locales -y
21+
sudo locale-gen es_ES.UTF-8
22+
sudo localectl set-locale LANG="es_ES.UTF-8"
23+
export LANG="es_ES.UTF-8"
24+
export LANGUAGE="es_ES.UTF-8"
25+
sudo update-locale
26+
locale -a
27+
locale
28+
locale -c -k LC_NUMERIC
29+
localectl status
30+
31+
- name: Install graphviz
32+
run: |
33+
sudo apt-get install graphviz nodejs npm
34+
35+
- name: Install Dependencies
36+
run: |
37+
uv sync
38+
npm install
39+
40+
- name: Build Blog
41+
run: |
42+
uv run poe build

0 commit comments

Comments
 (0)