Skip to content

Commit 06f81e4

Browse files
committed
Update deploy.yml
1 parent d2b2193 commit 06f81e4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/deploy.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
environment:
1717
name: github-pages
18-
# url: ${{ steps.deployment.outputs.page_url }}
19-
18+
2019
steps:
2120
- uses: actions/checkout@v4
2221

@@ -25,14 +24,21 @@ jobs:
2524

2625
- name: Prepare deployment
2726
run: |
27+
echo "Cleaning _site directory"
2828
rm -rf ./_site
2929
mkdir -p ./_site
30+
echo "Copying src content to _site"
3031
cp -r src/* ./_site/
32+
echo "Files in _site:"
33+
ls -R ./_site
34+
35+
- name: Disable Jekyll
36+
run: touch ./_site/.nojekyll
3137

3238
- name: Upload artifact
3339
uses: actions/upload-pages-artifact@v3
3440
with:
3541
path: '_site'
3642

3743
- name: Deploy
38-
uses: actions/deploy-pages@v4
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)