Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19fa5c8

Browse files
authored
Update deploy-previews.yml
1 parent 6f3a771 commit 19fa5c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-previews.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
# make html
2020
mkdir -p build/html
2121
echo "Hello world<h1>aaa</a>" > build/html/index.html
22+
mkdir to-github
23+
mv build/html to-github/${GITHUB_SHA}
2224
working-directory: Doc
2325
- name: Deploy to GitHub Pages
2426
uses: JamesIves/[email protected]
2527
with:
2628
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2729
BRANCH: gh-pages
28-
FOLDER: Doc/build/html
30+
FOLDER: Doc/to-github

0 commit comments

Comments
 (0)