Skip to content

Commit 065878b

Browse files
authored
Update pypi.yml
1 parent 5059136 commit 065878b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/pypi.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
url: https://pypi.org/p/interbasepython
6666
permissions:
6767
id-token: write
68-
if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v')
68+
if: startsWith(github.ref, 'refs/tags/v')
6969
steps:
7070
- uses: actions/download-artifact@v2
7171
with:
@@ -79,12 +79,12 @@ jobs:
7979
name: Deploy to GitHub Pages
8080
needs: [upload_pypi]
8181
runs-on: ubuntu-latest
82-
if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v')
82+
if: startsWith(github.ref, 'refs/tags/v')
8383
steps:
8484
- name: Publish docs
8585
uses: peaceiris/actions-gh-pages@v3
8686
with:
8787
publish_branch: gh-pages
8888
github_token: ${{ secrets.GITHUB_TOKEN }}
8989
publish_dir: docs/
90-
force_orphan: true
90+
force_orphan: true

0 commit comments

Comments
 (0)