Skip to content

Commit f49a155

Browse files
authored
ci: Trigger docs build even after docs commits (#979)
The current version skips the `build_and_deploy_docs` step (all steps, to be more precise) in the `pre_release` workflow for `docs:` commits, which is not correct. This PR changes that so that we only avoid pushing to PyPI for `docs:` commits.
1 parent 0da6a8e commit f49a155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pre_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ concurrency:
1717

1818
jobs:
1919
release_metadata:
20-
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
2120
name: Prepare release metadata
2221
runs-on: ubuntu-latest
2322
outputs:
@@ -63,6 +62,7 @@ jobs:
6362
secrets: inherit
6463

6564
publish_to_pypi:
65+
if: "!startsWith(github.event.head_commit.message, 'ci') && !startsWith(github.event.head_commit.message, 'docs')"
6666
name: Publish to PyPI
6767
needs: [release_metadata, update_changelog]
6868
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)