Consolidate GitHub Actions workflow (#96)

* chore: merge build and deploy jobs

* Use latest upload-pages-artifact

* Use upload-artifact v4
This commit is contained in:
guyeisenkot
2025-07-28 13:19:39 +03:00
committed by GitHub
parent 2d528da6f1
commit 8c9afb19dd

View File

@@ -15,8 +15,11 @@ concurrency:
cancel-in-progress: true
jobs:
build:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
with:
@@ -59,13 +62,6 @@ jobs:
with:
name: github-pages
path: ./_site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4