Skip to content

Commit 4d21326

Browse files
authored
PHPLIB-1175: Use container with Python 2.7 for building docs (#1123)
1 parent b8af536 commit 4d21326

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
giza:
2121
name: "Build Docs"
2222
runs-on: "ubuntu-20.04"
23+
container:
24+
image: python:2.7.18-buster
2325

2426
steps:
2527
- name: "Checkout library"
@@ -35,10 +37,9 @@ jobs:
3537
path: docs
3638
fetch-depth: 2
3739

38-
- name: "Setup python"
39-
uses: actions/setup-python@v4
40-
with:
41-
python-version: '2.7'
40+
# python:2.7.18-buster does not include rsync
41+
- name: "Install rsync"
42+
run: "apt-get update && apt-get -y install rsync"
4243

4344
# The requirements file installs urllib3 with an incompatible version; we replace it with one that works
4445
- name: "Install giza"

0 commit comments

Comments
 (0)