Skip to content

Commit

Permalink
bump artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarrata committed Jan 23, 2025
1 parent 8bf7983 commit ad9bfb7
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: Publish to GitHub Pages
on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: pages
cancel-in-progress: true
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
Expand All @@ -21,25 +19,35 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install Antora
run: npm i antora

- name: Generate Site
run: npx antora default-site.yml
# run: npx antora content/default-site.yml
- name: Setup Pages
uses: actions/configure-pages@v3
- name: find where the files are

# Debug: Confirm the output directory and structure
- name: Debug directory structure
run: |
echo "Current working directory:"
pwd
#ls -alR .
echo "List all files and directories:"
ls -alR .
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: content/www/
# Update the path to the correct directory (default is ./public for Antora)
path: content/www

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit ad9bfb7

Please sign in to comment.