Skip to content

Commit

Permalink
just enable
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Oct 22, 2024
1 parent 8659fd8 commit 1b86582
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy-cudf-java-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ jobs:
role-duration-seconds: 7200 # 2h

- name: Upload cudf-java docs to S3
if: ${{ inputs.new_stable_value == '1' }}
run: ci/upload_cudf_java_docs.sh ${{ inputs.version }}

- name: Run script to update stable value for cudf-java in docs.yml
env :
NEW_STABLE_VALUE: ${{ inputs.new_stable_value }}
run: |
if [ "$NEW_STABLE_VALUE" != "1" ] && [ "$NEW_STABLE_VALUE" != "0" ]; then
if [ "$NEW_STABLE_VALUE" != "1" ]; then
echo "Invalid value for new_stable_value: $NEW_STABLE_VALUE"
exit 1
fi
Expand All @@ -61,7 +60,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update stable value for cudf-java in docs.yml"
branch: "update-stable-value-for-cudf-java"
title: ${{ inputs.new_stable_value == '1' && 'Enable' || 'Disable' }} cudf-java docs for version ${{ inputs.version }}
title: Enable cudf-java docs for version ${{ inputs.version }}
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
body: |
This PR ${{ inputs.new_stable_value == '1' && 'enables' || 'disables' }} cudf-java docs for version ${{ inputs.version }}.
This PR enables cudf-java docs for version ${{ inputs.version }}.

0 comments on commit 1b86582

Please sign in to comment.