Skip to content

Commit 5ab61fb

Browse files
committed
fix: add required environment block to GitHub Pages workflow
1 parent a6d0c97 commit 5ab61fb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
11+
environment:
12+
name: github-pages
13+
url: ${{ steps.deployment.outputs.page_url }}
1114
permissions:
1215
contents: read
1316
pages: write
@@ -33,4 +36,5 @@ jobs:
3336
path: ./dist
3437

3538
- name: Deploy to GitHub Pages
39+
id: deployment
3640
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)