Skip to content

Commit 1067c60

Browse files
committed
Update deploy.yaml
1 parent d7d63d4 commit 1067c60

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14+
15+
# ✅ Attach environment HERE
16+
environment:
17+
name: github-pages
18+
1419
steps:
1520
- name: Get code
1621
uses: actions/checkout@v4
@@ -54,8 +59,6 @@ jobs:
5459
- name: Deploy to Github Pages
5560
id: deployment
5661
uses: actions/deploy-pages@v4
57-
with:
58-
token: ${{ secrets.GITHUB_TOKEN }}
5962

6063
- name: Show Deployed URL
6164
run: echo "Deployed at ${{ steps.deployment.outputs.page_url }}"

0 commit comments

Comments
 (0)