Skip to content

Commit 4d96f35

Browse files
authored
Update cd.yml
1 parent 83d6490 commit 4d96f35

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/cd.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,18 @@ jobs:
2929

3030
# Deploy
3131
deploy:
32-
needs: [build]
33-
runs-on: ubuntu-latest
32+
needs: build
33+
34+
environment:
35+
name: github-pages
36+
url: ${{ steps.deployment.outputs.page_url }}
37+
3438
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
3539
permissions:
3640
pages: write # to deploy to Pages
3741
id-token: write # to verify the deployment originates from an appropriate source
42+
43+
runs-on: ubuntu-latest
3844
steps:
3945
- name: Configure GitHub Pages
4046
uses: actions/[email protected]

0 commit comments

Comments
 (0)