Skip to content

Commit

Permalink
mv index.html to /page1/index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-jonghoonpark committed Apr 29, 2024
1 parent 576059d commit c5a4ca0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
env:
JEKYLL_ENV: production

- name: move index.html to /page1/index.html
run: |
mkdir -p ./_site/page1
mv ./_site/index.html ./_site/page1/index.html
mv ./_site/redirect.html ./_site/index.html
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v2
Expand Down
5 changes: 5 additions & 0 deletions redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<html>
<head>
<meta http-equiv="refresh" content="0; url=/page1/">
</head>
</html>

0 comments on commit c5a4ca0

Please sign in to comment.