File tree Expand file tree Collapse file tree 2 files changed +87
-0
lines changed
Expand file tree Collapse file tree 2 files changed +87
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1+ name : GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - pelican
7+
8+ permissions :
9+ contents : read
10+
11+ concurrency :
12+ group : pages
13+ cancel-in-progress : true
14+
15+ jobs :
16+ build :
17+ name : Build
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout do repositório
21+ uses : actions/checkout@v3
22+ with :
23+ submodules : recursive
24+
25+ - name : Configura python
26+ uses : actions/setup-python@v4
27+ with :
28+ python-version : " 2.7"
29+ cache : pip
30+
31+ - name : Instala dependências
32+ run : pip install -r requirements.txt
33+
34+ - name : Build do site
35+ run : make publish
36+
37+ - name : Upload do site
38+ uses : actions/upload-pages-artifact@v1
39+ with :
40+ path : output/
41+
42+ deploy :
43+ name : Deploy
44+ needs : build
45+ permissions :
46+ pages : write
47+ id-token : write
48+ runs-on : ubuntu-latest
49+ environment :
50+ name : github-pages
51+ url : ${{ steps.deployment.outputs.page_url }}
52+ steps :
53+ - name : Deploy no GitHub Pages
54+ id : deployment
55+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments