Skip to content

Commit cacfe8c

Browse files
authored
Fix release to gh pages (#21)
1 parent 263234d commit cacfe8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,16 @@ jobs:
173173
pages: write
174174
id-token: write
175175
contents: write
176+
environment:
177+
name: github-pages
178+
url: ${{ steps.deployment.outputs.page_url }}
176179
if: github.event_name == 'release'
177180
needs:
178181
- build-web
179182
steps:
180183
- name: Setup Pages
181-
if: github.event_name == 'release'
182184
uses: actions/[email protected]
183185

184186
- name: Deploy to GitHub Pages
185-
if: github.event_name == 'release'
186187
id: deployment
187188
uses: actions/[email protected]

0 commit comments

Comments
 (0)