Skip to content

Commit

Permalink
ci: properly use version during setup of python
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarkoulis committed Aug 27, 2024
1 parent c1988da commit 00e8c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
name: documentation
path: docs/_build/html
- name: Upload to read the docs
if: ${{ github.event.inputs.upload_docs }}
run: curl -X POST -d "branches=master" -d "token=${{ secrets.RTDS_WEBHOOK_TOKEN }}" ${{ secrets.RTDS_WEBHOOK_URL }}
if: ${{ inputs.upload_docs == 'true' || inputs.upload_docs == true }}
run: curl -X POST -d "branches=main" -d "token=${{ secrets.RTDS_WEBHOOK_TOKEN }}" ${{ secrets.RTDS_WEBHOOK_URL }}
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Checkout Repository
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 00e8c69

Please sign in to comment.