Skip to content

Commit 8980dee

Browse files
committed
feat: publish releases to github pages
1 parent a5c05e2 commit 8980dee

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,34 @@ jobs:
5353
command: binary-builder
5454
dry-run: ${{github.ref_name != 'main'}}
5555
token: ${{ secrets.GITHUB_TOKEN }}
56+
57+
publish:
58+
if: github.ref_name == 'main'
59+
runs-on: ubuntu-latest
60+
61+
concurrency:
62+
group: publish
63+
cancel-in-progress: true
64+
65+
needs:
66+
- build
67+
68+
permissions:
69+
contents: write
70+
id-token: write
71+
72+
environment:
73+
name: github-pages
74+
url: ${{ steps.deployment.outputs.page_url }}
75+
76+
steps:
77+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
78+
with:
79+
show-progress: false
80+
81+
- name: Deploy release list to GitHub Pages
82+
id: deployment
83+
uses: containerbase/internal-tools@b29c63c57dd3f5cccfba5e58416f531c23b9e122 # v4.3.0
84+
with:
85+
command: release-list
86+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)