Skip to content

Commit a08182c

Browse files
authored
Small info block in the beginning of the automated publishing section. (#8352)
1 parent 1a95711 commit a08182c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

app/lib/frontend/templates/views/pkg/admin_page.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ d.Node _automatedPublishing(Package package) {
271271
return d.fragment([
272272
d.a(name: 'automated-publishing'),
273273
d.h2(text: 'Automated publishing'),
274+
d.markdown(
275+
'You can automate publishing from the supported automated deployment environments. '
276+
'Instead of creating long-lived secrets, you may use temporary OpenID-Connect tokens '
277+
'signed by either GitHub Actions or Google Cloud IAM. '
278+
'See the [pub automated publishing guide](https://dart.dev/tools/pub/automated-publishing) for further details.'),
274279
d.a(name: 'github-actions'),
275280
d.h3(text: 'Publishing from GitHub Actions'),
276281
d.div(

app/test/frontend/golden/pkg_admin_page.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,11 @@ <h3>Unlisted</h3>
403403
</div>
404404
<a name="automated-publishing"></a>
405405
<h2>Automated publishing</h2>
406+
<p>
407+
You can automate publishing from the supported automated deployment environments. Instead of creating long-lived secrets, you may use temporary OpenID-Connect tokens signed by either GitHub Actions or Google Cloud IAM. See the
408+
<a href="https://dart.dev/tools/pub/automated-publishing">pub automated publishing guide</a>
409+
for further details.
410+
</p>
406411
<a name="github-actions"></a>
407412
<h3>Publishing from GitHub Actions</h3>
408413
<div class="-pub-form-checkbox-row -pub-form-checkbox-toggle-next-sibling">

0 commit comments

Comments
 (0)