Skip to content

Commit

Permalink
Upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Feb 5, 2024
1 parent 359f885 commit b6d8573
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ jobs:
run: |
mkdir -p __build
BUILD_OUTPUT="__build" bundle exec middleman build
- name: Generate HTML Preview
id: html_preview
uses: pavi2410/html-preview-action@v2
- name: Upload result
uses: actions/upload-artifact@v4
with:
html_file: '__build/index.html'
- name: Access preview
run: echo "${{steps.html_preview.outputs.url}}"
name: build-${{ github.event.number }}
path: '__build/**/*'
retention-days: 30

0 comments on commit b6d8573

Please sign in to comment.