Skip to content

Commit

Permalink
Small info block in the beginning of the automated publishing section. (
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Dec 4, 2024
1 parent 1a95711 commit a08182c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/lib/frontend/templates/views/pkg/admin_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ d.Node _automatedPublishing(Package package) {
return d.fragment([
d.a(name: 'automated-publishing'),
d.h2(text: 'Automated publishing'),
d.markdown(
'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 [pub automated publishing guide](https://dart.dev/tools/pub/automated-publishing) for further details.'),
d.a(name: 'github-actions'),
d.h3(text: 'Publishing from GitHub Actions'),
d.div(
Expand Down
5 changes: 5 additions & 0 deletions app/test/frontend/golden/pkg_admin_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,11 @@ <h3>Unlisted</h3>
</div>
<a name="automated-publishing"></a>
<h2>Automated publishing</h2>
<p>
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
<a href="https://dart.dev/tools/pub/automated-publishing">pub automated publishing guide</a>
for further details.
</p>
<a name="github-actions"></a>
<h3>Publishing from GitHub Actions</h3>
<div class="-pub-form-checkbox-row -pub-form-checkbox-toggle-next-sibling">
Expand Down

0 comments on commit a08182c

Please sign in to comment.