Skip to content

Commit

Permalink
Fix YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed May 16, 2024
1 parent 9c0653f commit 14b5f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ jobs:
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' && matrix.python-version == "3.10"
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/html
destination_dir: .

- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.python-version == '3.10'
uses: pypa/gh-action-pypi-publish@release/v1
with:
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
Expand Down

0 comments on commit 14b5f97

Please sign in to comment.