Skip to content

Commit

Permalink
Merge pull request #38 from OpenRailAssociation/workflow-artifact-fixes
Browse files Browse the repository at this point in the history
Fixes pages deployment workflow
  • Loading branch information
mxmehl authored Sep 18, 2024
2 parents cfcde48 + 472495e commit b59259c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
name: public
path: ./public
include-hidden-files: true
retention-days: 1
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: github-pages
name: public
path: .

- name: Link Checker
Expand All @@ -79,6 +79,17 @@ jobs:
# Only deploy if on main branch
if: github.ref == 'refs/heads/main'
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: public
path: ./public

- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

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

0 comments on commit b59259c

Please sign in to comment.