Skip to content

Commit d58ec37

Browse files
committed
edit deploy.yml
1 parent b3d9572 commit d58ec37

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy HTML
1+
name: Deploy index.html
22

33
on:
44
push:
@@ -23,18 +23,17 @@ jobs:
2323
deploy:
2424
environment:
2525
name: github-pages
26-
url: ${{ steps.deployment.outputs.page_url }}
26+
url: ${{steps.deployment.outputs.page_url}}
2727
runs-on: ubuntu-latest
28-
2928
steps:
30-
- name: Checkout repository
31-
uses: actions/checkout@v4
32-
33-
- name: Upload artifact
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v5
33+
- name: Upload Artifact
3434
uses: actions/upload-pages-artifact@v3
3535
with:
36-
path: ./
37-
38-
- name: Deploy to GitHub Pages
39-
id: deployment
40-
uses: actions/deploy-pages@v4
36+
path: '.'
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)