File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 35
35
run : echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
36
36
37
37
- name : Install poetry
38
+ if : env.PUBLISH == 'true'
38
39
run : pipx install "poetry==1.1.14"
39
40
40
41
- name : Set up Python ${{ matrix.python-version }}
42
+ if : env.PUBLISH == 'true'
41
43
uses : actions/setup-python@v4
42
44
with :
43
45
python-version : ${{ matrix.python-version }}
48
50
run : poetry install --extras "docs lint"
49
51
50
52
- name : Print python versions
53
+ if : env.PUBLISH == 'true'
51
54
run : |
52
55
python -V
53
56
poetry run python -V
70
73
SOURCE_DIR : " docs/_build/html" # optional: defaults to entire repository
71
74
72
75
- name : Purge cache on Cloudflare
76
+ if : env.PUBLISH == 'true'
73
77
uses : jakejarvis/cloudflare-purge-action@v0.3.0
74
78
env :
75
79
CLOUDFLARE_TOKEN : ${{ secrets.CLOUDFLARE_TOKEN }}
You can’t perform that action at this time.
0 commit comments