Skip to content

Commit 4844aba

Browse files
authored
Merge pull request #55 from contentstack/staging
back merge
2 parents 3adc068 + db7510b commit 4844aba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
push:
66
tags:
77
- 'v[0-9]+.[0-9]+.[0-9]+' # tag pattern on pub.dev: 'v{{version}'
8-
release:
9-
types: [ created ]
10-
8+
workflow_dispatch: # Allow manual trigger
119
# Publish using custom workflow
1210
jobs:
1311
publish:
1412
permissions:
15-
id-token: write # Required for authentication using OIDC
13+
id-token: write # Required for OIDC authentication
14+
name: 'Publish to pub.dev'
15+
environment: 'pub.dev'
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)