Skip to content

Commit e756cf0

Browse files
Copilotluzfcb
andcommitted
Add GitHub Actions workflow with Ubuntu 20.04 and Python 3.5
Co-authored-by: luzfcb <807599+luzfcb@users.noreply.github.com>
1 parent 41d7156 commit e756cf0

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- pelican
7+
pull_request:
8+
branches:
9+
- pelican
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-20.04
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
submodules: true
20+
21+
- name: Set up Python 3.5
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.5'
25+
26+
- name: Install dependencies
27+
run: |
28+
python --version
29+
pip install --upgrade pip
30+
pip install -r requirements.txt
31+
32+
- name: Build site
33+
run: |
34+
make publish

0 commit comments

Comments
 (0)