Skip to content

Commit

Permalink
build website as part of metadata script (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite authored Dec 20, 2024
1 parent 95803e6 commit e2211a7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@ jobs:
echo "Generating metadata.json"
echo "{ \"releases\": [$(IFS=,; echo "${releases_with_artifact[*]}")] }" > website/zig-out/www/downloads/microzig/metadata.json
echo "List of files uploaded to github pages:"
- name: Build
working-directory: website
run: zig build
echo "Build website"
cd website
zig build
- name: List Contents
run: tree website/zig-out/www
echo "List of files uploaded to github pages:"
tree zig-out/www
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit e2211a7

Please sign in to comment.