-
-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (35 loc) · 937 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build and Deploy
on:
push:
branches:
- master
repository_dispatch:
types:
- psycopg2-commit
- psycopg3-commit
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Codespell
run: |
pip install codespell
codespell --ignore-words-list=possibile --skip="*.css,*.svg"
- name: Install requirements to generate Psycopg 3 docs
run: sudo apt-get install -y libgeos-dev
- name: Install
run: make setup
- name: Build
run: make
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: master
folder: build
token: ${{ secrets.ACCESS_TOKEN }}
repository-name: psycopg/psycopg.github.io