Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions .github/workflows/main-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Prepare static site bundle
run: |
rm -rf dist
Expand All @@ -28,6 +30,10 @@ jobs:
with:
name: static-site
path: dist
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist

report-build:
name: Report Build Status
Expand All @@ -41,9 +47,7 @@ jobs:

tests:
name: Run Tests
needs: build
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -60,17 +64,20 @@ jobs:

deploy:
name: Deploy to Pages
needs: build
needs:
- build
- tests
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: static-site
path: dist
- name: Deploy to Pages
run: |
echo "Deployment placeholder - upload dist/ to GitHub Pages via existing automation."
id: deployment
uses: actions/deploy-pages@v4

report-tests:
name: Report Tests Statuses
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/