Skip to content

Commit 4fbbe70

Browse files
authored
Update pages.yml
1 parent 0e530ac commit 4fbbe70

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,19 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4 # Updated to the latest version
22+
uses: actions/checkout@v4
2323
- name: Setup Pages
2424
uses: actions/configure-pages@v2
2525
- name: Build with Jekyll
2626
uses: actions/jekyll-build-pages@v1
2727
with:
2828
source: ./
2929
destination: ./_site
30+
safe: false # Disable safe mode for better compatibility
31+
- name: Debug _site directory
32+
run: ls -la ./_site # Check if files exist
3033
- name: Upload artifact
31-
uses: actions/upload-artifact@v4 # Updated from v3 to v4
34+
uses: actions/upload-artifact@v4
3235
with:
3336
name: github-pages
3437
path: ./_site
@@ -41,7 +44,7 @@ jobs:
4144
needs: build
4245
steps:
4346
- name: Download artifact
44-
uses: actions/download-artifact@v4 # Ensure you're using the latest version
47+
uses: actions/download-artifact@v4
4548
with:
4649
name: github-pages
4750
path: ./_site

0 commit comments

Comments
 (0)