Skip to content

Commit 4fdc642

Browse files
committed
fix: update GitHub token reference and simplify release condition
1 parent 984ebc7 commit 4fdc642

File tree

3 files changed

+3
-83
lines changed

3 files changed

+3
-83
lines changed

.github/workflows/release-simple.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ jobs:
8888
draft: false
8989
prerelease: false
9090
env:
91-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
9292

9393
# ────────────────────────────────────────
9494
# 2. Job B: build & publish when Release fires
9595
# ────────────────────────────────────────
9696
deploy:
97-
if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'created')
97+
if: github.event_name == 'release'
9898
runs-on: ubuntu-latest
9999
environment: pypi
100100

src/veedb/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.2
1+
0.1.1

0 commit comments

Comments
 (0)