Skip to content

Commit

Permalink
fix: Automatically update Python docs (#10839)
Browse files Browse the repository at this point in the history
When a new version of the CLI and Node.js and Python SDKs are released, we kick off a workflow to regenerate docs for these. However, the regenerated Python docs were not being included in the PR that is opened with the changes. This fixes that, by including the updated Python docs in the commit for the PR.
  • Loading branch information
justinvp authored Feb 18, 2024
1 parent 1444308 commit 663461d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pulumi-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,10 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "pulumi-bot"
git checkout -b pulumi/${{ github.run_id }}-${{ github.run_number }}
git add static/
git add content/
git add data/
git add static-prebuilt/
git add static/
git commit -m "Regenerating docs for Pulumi@${{ env.PULUMI_VERSION}}"
git push origin pulumi/${{ github.run_id }}-${{ github.run_number }}
working-directory: docs
Expand Down

0 comments on commit 663461d

Please sign in to comment.