Skip to content

Commit 5c21de2

Browse files
authored
Update deploy.yml
1 parent 4bedf77 commit 5c21de2

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/deploy.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
jobs:
9-
build-deploy:
9+
build:
1010
runs-on: ubuntu-latest
1111

1212
steps:
@@ -52,7 +52,13 @@ jobs:
5252
# done
5353
pnpm build
5454
55-
- uses: peaceiris/actions-gh-pages@v3
56-
with:
57-
github_token: ${{ secrets.GITHUB_TOKEN }}
58-
publish_dir: ./build
55+
deploy:
56+
environment:
57+
name: github-pages
58+
url: "https://konkuk-kuit.github.io/KUIT4_Web-FrontEnd"
59+
runs-on: ubuntu-latest
60+
needs: build
61+
steps:
62+
- name: Deploy to GitHub Pages
63+
id: deployment
64+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)