Skip to content

Commit 9596f30

Browse files
authored
added fix for issue #198 (#199)
1 parent eb991ee commit 9596f30

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ name: Publish to GitHub Pages
22
on:
33
push:
44
branches: [main]
5-
# Allows you to run this workflow manually from the Actions tab
65
workflow_dispatch:
76
concurrency:
87
group: pages
98
cancel-in-progress: true
10-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
119
permissions:
1210
contents: read
1311
pages: write
@@ -21,25 +19,33 @@ jobs:
2119
steps:
2220
- name: Checkout repository
2321
uses: actions/checkout@v4
22+
2423
- name: Install Node.js
2524
uses: actions/setup-node@v3
2625
with:
2726
node-version: '18'
27+
2828
- name: Install Antora
2929
run: npm i antora
30+
3031
- name: Generate Site
3132
run: npx antora default-site.yml
32-
# run: npx antora content/default-site.yml
33-
- name: Setup Pages
34-
uses: actions/configure-pages@v3
35-
- name: find where the files are
33+
34+
- name: Debug directory structure
3635
run: |
36+
echo "Current working directory:"
3737
pwd
38-
#ls -alR .
38+
echo "List all files and directories:"
39+
ls -alR .
40+
41+
- name: Setup Pages
42+
uses: actions/configure-pages@v3
43+
3944
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v2
45+
uses: actions/upload-pages-artifact@v3
4146
with:
42-
path: content/www/
47+
path: content/www
48+
4349
- name: Deploy to GitHub Pages
4450
id: deployment
45-
uses: actions/deploy-pages@v2
51+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)