Skip to content

Commit 42e5e9e

Browse files
Adiciona action para testar o build de novos artigos
1 parent 25364d9 commit 42e5e9e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Test
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
- '!pelican'
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
name: Build
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout do repositório
18+
uses: actions/checkout@v3
19+
with:
20+
submodules: recursive
21+
22+
- name: Configura python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: "2.7"
26+
cache: pip
27+
28+
- name: Instala dependências
29+
run: pip install -r requirements.txt
30+
31+
- name: Build do site
32+
run: make publish

0 commit comments

Comments
 (0)