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 3535 run : echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
3636
3737 - name : Install poetry
38+ if : env.PUBLISH == 'true'
3839 run : pipx install "poetry==1.1.14"
3940
4041 - name : Set up Python ${{ matrix.python-version }}
42+ if : env.PUBLISH == 'true'
4143 uses : actions/setup-python@v4
4244 with :
4345 python-version : ${{ matrix.python-version }}
4850 run : poetry install --extras "docs lint"
4951
5052 - name : Print python versions
53+ if : env.PUBLISH == 'true'
5154 run : |
5255 python -V
5356 poetry run python -V
7073 SOURCE_DIR : " docs/_build/html" # optional: defaults to entire repository
7174
7275 - name : Purge cache on Cloudflare
76+ if : env.PUBLISH == 'true'
7377 uses : jakejarvis/cloudflare-purge-action@v0.3.0
7478 env :
7579 CLOUDFLARE_TOKEN : ${{ secrets.CLOUDFLARE_TOKEN }}
You can’t perform that action at this time.
0 commit comments