Skip to content

Commit

Permalink
Use configure-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
RVR06 committed Jun 19, 2024
1 parent 0464665 commit b612012
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ jobs:
run:
working-directory: ${{ env.documentation_root }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
lfs: 'true'


- name: Setup Pages
id: pages
uses: actions/configure-pages@v4

- name: Setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -56,7 +59,7 @@ jobs:
run: hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: upload-pages-artifact@v3
with:
path: ${{ env.documentation_root }}/public

Expand All @@ -83,4 +86,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit b612012

Please sign in to comment.