Skip to content

Commit

Permalink
Update build-docs.yaml (#775)
Browse files Browse the repository at this point in the history
* Update build-docs.yaml

* Update build-docs.yaml

* fix repo branch to clone
  • Loading branch information
discdiver authored May 16, 2024
1 parent 77f2234 commit c07a914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:
version:
description: 'The release tag or branch to build and deploy
(e.g., "2.8.0", "2.8.0-docs-hotfix").
Use `unreleased` to build directly from the main branch of `PrefectHQ/prefect`.'
Use `unreleased` to build directly from the 2.x branch of `PrefectHQ/prefect`.'
type: string
required: true
default: 'unreleased'
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
run: |
version="${{ env.version }}"
if [[ $version == "unreleased" ]]; then
git clone --depth 1 https://github.com/PrefectHQ/prefect.git prefect_source
git clone --branch 2.x --depth 1 https://github.com/PrefectHQ/prefect.git prefect_source
else
git clone --branch "$version" --depth 1 https://github.com/PrefectHQ/prefect.git prefect_source
fi
Expand Down

0 comments on commit c07a914

Please sign in to comment.