Skip to content

Commit 0ea460b

Browse files
authored
Update deploy.yml
1 parent e54f784 commit 0ea460b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
16+
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
@@ -35,5 +35,16 @@ jobs:
3535
with:
3636
path: target/
3737

38+
deploy:
39+
needs: build
40+
runs-on: ubuntu-latest
41+
42+
# Add this environment configuration
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
47+
steps:
3848
- name: Deploy to GitHub Pages
49+
id: deployment
3950
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)